* [PATCH] include/linux/jhash.h: fix kernel-doc parameter name
@ 2026-10-30 9:38 Ziran Zhang
0 siblings, 0 replies; only message in thread
From: Ziran Zhang @ 2026-10-30 9:38 UTC (permalink / raw)
To: Andrew Morton; +Cc: netdev, netfilter-devel, linux-kernel, Ziran Zhang
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.
Signed-off-by: Ziran Zhang <zhangcoder@yeah.net>
---
include/linux/jhash.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/jhash.h b/include/linux/jhash.h
index 7c1c1821c..d320de0af 100644
--- a/include/linux/jhash.h
+++ b/include/linux/jhash.h
@@ -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
*
--
2.51.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-30 9:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 9:38 [PATCH] include/linux/jhash.h: fix kernel-doc parameter name Ziran Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®