Re: [PATCH v2] bitops: fix kernel-doc parameter name for parity8()
From: Yury Norov
Date: Wed Mar 18 2026 - 13:41:25 EST
On Sun, Mar 15, 2026 at 06:08:41PM +0100, Kit Dallege wrote:
> The kernel-doc comment for parity8() documents the parameter as @value
> but the actual parameter name is @val. Fix the mismatch.
>
> Assisted-by: Claude:claude-opus-4-6
> Signed-off-by: Kit Dallege <xaum.io@xxxxxxxxx>
Applied, thanks.
> ---
> include/linux/bitops.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/bitops.h b/include/linux/bitops.h
> index ea7898cc5903..1fe46703792f 100644
> --- a/include/linux/bitops.h
> +++ b/include/linux/bitops.h
> @@ -230,7 +230,7 @@ static inline int get_count_order_long(unsigned long l)
>
> /**
> * parity8 - get the parity of an u8 value
> - * @value: the value to be examined
> + * @val: the value to be examined
> *
> * Determine the parity of the u8 argument.
> *
> --
> 2.53.0