Skip to content

Commit 22b6392

Browse files
jeff-t-johnsonrostedt
authored andcommitted
tracing: Fix trace_pid_list_free() kernel-doc
make C=1 reports: kernel/trace/pid_list.c:458: warning: Function parameter or struct member 'pid_list' not described in 'trace_pid_list_free' Add the missing parameter to the trace_pid_list_free() kernel-doc. Link: https://lore.kernel.org/linux-trace-kernel/20240506-trace_pid_list_free-kdoc-v1-1-c70f0ae29144@quicinc.com Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent c3f38fa commit 22b6392

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kernel/trace/pid_list.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ struct trace_pid_list *trace_pid_list_alloc(void)
451451

452452
/**
453453
* trace_pid_list_free - Frees an allocated pid_list.
454+
* @pid_list: The pid list to free.
454455
*
455456
* Frees the memory for a pid_list that was allocated.
456457
*/

0 commit comments

Comments
 (0)