Skip to contentSkip to conversation

include/linux/jhash.h: fix kernel-doc parameter name

PATCH New Ziran Zhang 1 participant 1 message Oct 30

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/linux/jhash.h: fix kernel-doc parameter name

The kernel-doc comment for jhash() documents the first parameter as @k, but the function signature uses key.

Fix the parameter name in the comment to match the signature.

No functional changes.

---
 include/linux/jhash.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/jhash.h +1 -1
index 7c1c1821c..d320de0af 100644
@@ -58,7 +58,7 @@
 #define JHASH_INITVAL		0xdeadbeef
 
 /* jhash - hash an arbitrary key
- * @k: sequence of bytes as key
+ * @key: sequence of bytes as key
  * @length: the length of the key
  * @initval: the previous hash, or an arbitrary value
  *
Signature · 1 line
2.51.0