mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
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
This commit is contained in:
parent
eeddfa5be1
commit
0c3ebff535
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user