summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-12-20 06:49:45 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 21:22:29 +0100
commit5f981878c71eaa8dc5563805152bd129a73a90be (patch)
tree1173b169ca1159863c4731440be3cea1b49b03b5
parentscripts/checkstack.pl: fix no space expression between sp and offset (diff)
downloadlinux-5f981878c71eaa8dc5563805152bd129a73a90be.tar.xz
linux-5f981878c71eaa8dc5563805152bd129a73a90be.zip
stacktrace: fix kernel-doc typo
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>
-rw-r--r--kernel/stacktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/stacktrace.c b/kernel/stacktrace.c
index 4f65824879ab..afb3c116da91 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