Skip to contentSkip to conversation

stacktrace: remove kernel-doc warnings

PATCH In review Zhu Wang 2 participants 3 messages Jul 31, 2023 – Oct 11, 2023

lore
Share & tools
lore

Zhu Wang

author
#0 lore raw

PATCH 1/1 stacktrace: remove kernel-doc warnings

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'

---
 kernel/stacktrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/stacktrace.c +1 -1
index 9ed5ce989415..f385f1f54152 100644
@@ -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
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Zhu Wang

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'

Thanks.

Quoted 17 lines
---
 kernel/stacktrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/stacktrace.c +1 -1
index 9ed5ce989415..f385f1f54152 100644
@@ -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
Signature · 1 line
~Randy
Reviewed-by on v1 1/1
#2 lore raw
In reply to Zhu Wang

Hi--

Quoted 8 lines · Zhu Wang

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'

Please resend your patch and Cc: Andrew Morton on it so that it can be merged.

Thanks.

Quoted 17 lines
---
 kernel/stacktrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/stacktrace.c +1 -1
index 9ed5ce989415..f385f1f54152 100644
@@ -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
Signature · 1 line
~Randy