public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] bitops: fix kernel-doc parameter name for parity8()
@ 2026-03-15 17:08 Kit Dallege
  2026-03-18 17:00 ` Yury Norov
  0 siblings, 1 reply; 2+ messages in thread
From: Kit Dallege @ 2026-03-15 17:08 UTC (permalink / raw)
  To: Yury Norov, Rasmus Villemoes; +Cc: linux-kernel

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@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] bitops: fix kernel-doc parameter name for parity8()
  2026-03-15 17:08 [PATCH v2] bitops: fix kernel-doc parameter name for parity8() Kit Dallege
@ 2026-03-18 17:00 ` Yury Norov
  0 siblings, 0 replies; 2+ messages in thread
From: Yury Norov @ 2026-03-18 17:00 UTC (permalink / raw)
  To: Kit Dallege; +Cc: Yury Norov, Rasmus Villemoes, linux-kernel

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@gmail.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-18 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-15 17:08 [PATCH v2] bitops: fix kernel-doc parameter name for parity8() Kit Dallege
2026-03-18 17:00 ` Yury Norov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox