Skip to contentSkip to conversation

tracing: Fix trace_pid_list_free() kernel-doc

PATCH New Steven Rostedt 1 participant 1 message Jun 6, 2024 Tracing

lore
Share & tools
lore

Steven Rostedt

author maintainer
#0 lore raw

PATCH 1/1 tracing: Fix trace_pid_list_free() kernel-doc

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/for-next

Head SHA1: 22b639253ec046d66c69c54b9d28bb1bd30f3a7a

Jeff Johnson (1):
tracing: Fix trace_pid_list_free() kernel-doc

----

 kernel/trace/pid_list.c | 1 +
 1 file changed, 1 insertion(+)
---------------------------
commit 22b639253ec046d66c69c54b9d28bb1bd30f3a7a
Author: Jeff Johnson <[email protected]>
Date:   Mon May 6 07:22:33 2024 -0700

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.

kernel/trace/pid_list.c +1 -0
index 95106d02b32d..19b271a12c99 100644
@@ -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.
  */