Skip to content

Commit

Permalink
tracing/histogram: Fix semicolon.cocci warnings
Browse files Browse the repository at this point in the history
kernel/trace/trace_events_hist.c:6039:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Link: https://lkml.kernel.org/r/20211030005615.GA41257@3074f0d39c61

Fixes: c5eac6e ("tracing/histogram: Simplify handling of .sym-offset in expressions")
CC: Kalesh Singh <kaleshsingh@google.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
kernel test robot authored and Steven Rostedt (VMware) committed Oct 30, 2021
1 parent 93d76e4 commit feea69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/trace_events_hist.c
Original file line number Diff line number Diff line change
Expand Up @@ -6084,7 +6084,7 @@ static int event_hist_trigger_func(struct event_command *cmd_ops,
while (start) {
*(start + 4) = 'X';
start = strstr(start + 11, ".sym-offset");
};
}

attrs = parse_hist_trigger_attrs(file->tr, trigger);
if (IS_ERR(attrs))
Expand Down

0 comments on commit feea69e

Please sign in to comment.