summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2023-12-15 01:15:13 +0100
committerJonathan Corbet <corbet@lwn.net>2023-12-15 17:32:27 +0100
commit0c3ebff535956d2718594dc90aa9cc87521ec9fd (patch)
treee88fcd94bff04176a3b989ca1ab2f846aca127ea /scripts/kernel-doc
parentdocs: conf.py: Ignore __counted_by attribute (diff)
downloadlinux-0c3ebff535956d2718594dc90aa9cc87521ec9fd.tar.xz
linux-0c3ebff535956d2718594dc90aa9cc87521ec9fd.zip
scripts: kernel-doc: Clarify missing struct member description
The output "or member" should be more specific, instead saying "struct member". Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20231215001513.work.563-kees@kernel.org
Diffstat (limited to '')
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index cb1af401d3ff..df158c3a9abc 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1601,7 +1601,7 @@ sub push_parameter($$$$$) {
$parameterdescs{$param} = $undescribed;
if (show_warnings($type, $declaration_name) && $param !~ /\./) {
- emit_warning("${file}:$.", "Function parameter or member '$param' not described in '$declaration_name'\n");
+ emit_warning("${file}:$.", "Function parameter or struct member '$param' not described in '$declaration_name'\n");
}
}