Skip to content

Commit 78cbc65

Browse files
wb-zjp846396rostedt
authored andcommitted
ftrace: Fix some W=1 warnings in kernel doc comments
Clean up the following clang-w1 warning: kernel/trace/ftrace.c:7827: warning: Function parameter or member 'ops' not described in 'unregister_ftrace_function'. kernel/trace/ftrace.c:7805: warning: Function parameter or member 'ops' not described in 'register_ftrace_function'. Link: https://lkml.kernel.org/r/20220307004303.26399-1-jiapeng.chong@linux.alibaba.com Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent caf4c86 commit 78cbc65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kernel/trace/ftrace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7790,7 +7790,7 @@ int ftrace_is_dead(void)
77907790

77917791
/**
77927792
* register_ftrace_function - register a function for profiling
7793-
* @ops - ops structure that holds the function for profiling.
7793+
* @ops: ops structure that holds the function for profiling.
77947794
*
77957795
* Register a function to be called by all functions in the
77967796
* kernel.
@@ -7817,7 +7817,7 @@ EXPORT_SYMBOL_GPL(register_ftrace_function);
78177817

78187818
/**
78197819
* unregister_ftrace_function - unregister a function for profiling.
7820-
* @ops - ops structure that holds the function to unregister
7820+
* @ops: ops structure that holds the function to unregister
78217821
*
78227822
* Unregister a function that was added to be called by ftrace profiling.
78237823
*/

0 commit comments

Comments
 (0)