[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240506-trace_pid_list_free-kdoc-v1-1-c70f0ae29144@quicinc.com>
Date: Mon, 6 May 2024 07:22:33 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu
<mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
CC: <linux-kernel@...r.kernel.org>, <linux-trace-kernel@...r.kernel.org>,
"Jeff Johnson" <quic_jjohnson@...cinc.com>
Subject: [PATCH] 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.
Signed-off-by: Jeff Johnson <quic_jjohnson@...cinc.com>
---
kernel/trace/pid_list.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/trace/pid_list.c b/kernel/trace/pid_list.c
index 95106d02b32d..19b271a12c99 100644
--- a/kernel/trace/pid_list.c
+++ b/kernel/trace/pid_list.c
@@ -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.
*/
---
base-commit: dd5a440a31fae6e459c0d6271dddd62825505361
change-id: 20240506-trace_pid_list_free-kdoc-e2bf15be84ee
Powered by blists - more mailing lists