Re: [PATCH] scripts: kernel-doc: Clarify missing struct member description
From: Jonathan Corbet
Date: Fri Dec 15 2023 - 11:33:12 EST
Kees Cook <keescook@xxxxxxxxxxxx> writes:
> The output "or member" should be more specific, instead saying "struct
> member".
>
> Cc: Jonathan Corbet <corbet@xxxxxxx>
> Cc: linux-doc@xxxxxxxxxxxxxxx
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> scripts/kernel-doc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/kernel-doc b/scripts/kernel-doc
> index 39e730ee1fef..41f838042364 100755
> --- a/scripts/kernel-doc
> +++ b/scripts/kernel-doc
> @@ -1613,7 +1613,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");
> }
Applied, thanks.
jon