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:
Kees Cook 2023-12-14 16:15:13 -08:00 committed by Jonathan Corbet
parent eeddfa5be1
commit 0c3ebff535

View File

@ -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");
}
}