]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tracing: Fix trace_pid_list_free() kernel-doc
authorJeff Johnson <quic_jjohnson@quicinc.com>
Mon, 6 May 2024 14:22:33 +0000 (07:22 -0700)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 6 Jun 2024 12:26:47 +0000 (08:26 -0400)
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>
kernel/trace/pid_list.c

index 95106d02b32d82a32b7c54566a40d546e066f4d9..19b271a12c9979caa9e2ec2b8d0f385c41be5368 100644 (file)
@@ -451,6 +451,7 @@ struct trace_pid_list *trace_pid_list_alloc(void)
 
 /**
  * trace_pid_list_free - Frees an allocated pid_list.
+ * @pid_list: The pid list to free.
  *
  * Frees the memory for a pid_list that was allocated.
  */