summaryrefslogtreecommitdiff
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2023-12-14 16:15:13 -0800
committerJonathan Corbet <corbet@lwn.net>2023-12-15 09:32:27 -0700
commit0c3ebff535956d2718594dc90aa9cc87521ec9fd (patch)
treee88fcd94bff04176a3b989ca1ab2f846aca127ea /scripts/kernel-doc
parenteeddfa5be17ba0fa2d98874aa881683373bf7180 (diff)
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 'scripts/kernel-doc')
-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");
}
}