Skip to content

Commit 2b20078

Browse files
tracing/histogram: Fix semicolon.cocci warnings
JIRA: https://issues.redhat.com/browse/RHEL-67679 commit feea69e Author: kernel test robot <[email protected]> Date: Sat Oct 30 08:56:15 2021 +0800 tracing/histogram: Fix semicolon.cocci warnings 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 <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: kernel test robot <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Tomas Glozar <[email protected]>
1 parent fd69119 commit 2b20078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/trace_events_hist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6051,7 +6051,7 @@ static int event_hist_trigger_func(struct event_command *cmd_ops,
60516051
while (start) {
60526052
*(start + 4) = 'X';
60536053
start = strstr(start + 11, ".sym-offset");
6054-
};
6054+
}
60556055

60566056
attrs = parse_hist_trigger_attrs(file->tr, trigger);
60576057
if (IS_ERR(attrs))

0 commit comments

Comments
 (0)