Skip to contentSkip to conversation

bitops: fix kernel-doc parameter name for parity8()

PATCH Applied Kit Dallege 2 participants 2 messages Mar 15 – Mar 18 Bitops API

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bitops: fix kernel-doc parameter name for parity8()

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
---
 include/linux/bitops.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/bitops.h +1 -1
index ea7898cc5903..1fe46703792f 100644
@@ -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.
  *
Signature · 1 line
2.53.0
Applied
#1 lore raw
Quoted 5 lines · Kit Dallege

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

Applied, thanks.

Quoted 19 lines
---
 include/linux/bitops.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/bitops.h +1 -1
index ea7898cc5903..1fe46703792f 100644
@@ -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.
  *
Signature · 1 line
2.53.0