]> git.itanic.dy.fi Git - linux-stable/commitdiff
stacktrace: fix kernel-doc typo
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 20 Dec 2023 05:49:45 +0000 (21:49 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 20:22:29 +0000 (12:22 -0800)
Change @task to @tsk to prevent kernel-doc warnings:

kernel/stacktrace.c:138: warning: Excess function parameter 'task' description in 'stack_trace_save_tsk'
kernel/stacktrace.c:138: warning: Function parameter or member 'tsk' not described in 'stack_trace_save_tsk'

Link: https://lkml.kernel.org/r/20231220054945.17663-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/stacktrace.c

index 4f65824879ab6107037ff0f4cb2c564798513b4e..afb3c116da91a7afdaefdc312d35e50dc3a8d215 100644 (file)
@@ -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