From: Ziran Zhang <zhangcoder@yeah.net>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org,
linux-kernel@vger.kernel.org, Ziran Zhang <zhangcoder@yeah.net>
Subject: [PATCH] include/linux/jhash.h: fix kernel-doc parameter name
Date: Fri, 30 Oct 2026 17:38:33 +0800 [thread overview]
Message-ID: <20261030093834.13043-1-zhangcoder@yeah.net> (raw)
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
reply other threads:[~2026-10-30 9:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261030093834.13043-1-zhangcoder@yeah.net \
--to=zhangcoder@yeah.net \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®