summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorBean Huo <beanhuo@micron.com>2021-01-12 12:12:02 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-02-02 23:02:07 +0100
commit557d50e79df7fe527bd5f93b26cf2bcdaaabce7a (patch)
treec46e1e4fdd5a812a460c391352d64f282c324575 /kernel/trace/trace.c
parenttracing: Fix spelling of controlling in uprobes (diff)
downloadlinux-557d50e79df7fe527bd5f93b26cf2bcdaaabce7a.tar.xz
linux-557d50e79df7fe527bd5f93b26cf2bcdaaabce7a.zip
tracing: Fix a kernel doc warning
Add description for trace_array_put() parameter. kernel/trace/trace.c:464: warning: Function parameter or member 'this_tr' not described in 'trace_array_put' Link: https://lkml.kernel.org/r/20210112111202.23508-1-huobean@gmail.com Signed-off-by: Bean Huo <beanhuo@micron.com> [ Merged as one of the original fixes was already fixed by someone else ] Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to '')
-rw-r--r--kernel/trace/trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 75620c29e904..7fd432334ff5 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -454,6 +454,7 @@ static void __trace_array_put(struct trace_array *this_tr)
/**
* trace_array_put - Decrement the reference counter for this trace array.
+ * @this_tr : pointer to the trace array
*
* NOTE: Use this when we no longer need the trace array returned by
* trace_array_get_by_name(). This ensures the trace array can be later