Re: [PATCH -next] stacktrace: remove kernel-doc warnings

From: Randy Dunlap
Date: Mon Jul 31 2023 - 18:08:05 EST




On 7/31/23 04:32, Zhu Wang wrote:
> Remove kernel-doc warnings:
>
> kernel/stacktrace.c:138: warning: Function parameter or member 'tsk' not
> described in 'stack_trace_save_tsk'
> kernel/stacktrace.c:138: warning: Excess function parameter 'task'
> description in 'stack_trace_save_tsk'
>
> Signed-off-by: Zhu Wang <wangzhu9@xxxxxxxxxx>

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> kernel/stacktrace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/stacktrace.c b/kernel/stacktrace.c
> index 9ed5ce989415..f385f1f54152 100644
> --- a/kernel/stacktrace.c
> +++ b/kernel/stacktrace.c
> @@ -126,7 +126,7 @@ EXPORT_SYMBOL_GPL(stack_trace_save);
>
> /**
> * stack_trace_save_tsk - Save a task stack trace into a storage array
> - * @task: The task to examine
> + * @tsk: The task to examine
> * @store: Pointer to storage array
> * @size: Size of the storage array
> * @skipnr: Number of entries to skip at the start of the stack trace

--
~Randy