Skip to content

Commit 8d4a21b

Browse files
sunlimingrostedt
authored andcommitted
tracing: Fix comments for event_trigger_separate_filter()
The parameter name in comments of event_trigger_separate_filter() is inconsistent with actual parameter name, fix it. Link: https://lkml.kernel.org/r/20220526072957.165655-1-sunliming@kylinos.cn Signed-off-by: sunliming <sunliming@kylinos.cn> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent aef5485 commit 8d4a21b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

kernel/trace/trace_events_trigger.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -738,15 +738,15 @@ bool event_trigger_empty_param(const char *param)
738738

739739
/**
740740
* event_trigger_separate_filter - separate an event trigger from a filter
741-
* @param: The param string containing trigger and possibly filter
742-
* @trigger: outparam, will be filled with a pointer to the trigger
741+
* @param_and_filter: String containing trigger and possibly filter
742+
* @param: outparam, will be filled with a pointer to the trigger
743743
* @filter: outparam, will be filled with a pointer to the filter
744744
* @param_required: Specifies whether or not the param string is required
745745
*
746746
* Given a param string of the form '[trigger] [if filter]', this
747747
* function separates the filter from the trigger and returns the
748-
* trigger in *trigger and the filter in *filter. Either the *trigger
749-
* or the *filter may be set to NULL by this function - if not set to
748+
* trigger in @param and the filter in @filter. Either the @param
749+
* or the @filter may be set to NULL by this function - if not set to
750750
* NULL, they will contain strings corresponding to the trigger and
751751
* filter.
752752
*

0 commit comments

Comments
 (0)