Skip to content

Commit 78cbc65

Browse files
Jiapeng Chongrostedt
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/[email protected] Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent caf4c86 commit 78cbc65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)