[for-next][PATCH] tracing/histogram: Fix semicolon.cocci warnings

From: Steven Rostedt
Date: Mon Nov 01 2021 - 10:35:50 EST


kernel test robot <lkp@xxxxxxxxx>
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next

Head SHA1: feea69ec121f067073868cebe0cb9d003e64ad80


kernel test robot (1):
tracing/histogram: Fix semicolon.cocci warnings

----
kernel/trace/trace_events_hist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---------------------------
commit feea69ec121f067073868cebe0cb9d003e64ad80
Author: kernel test robot <lkp@xxxxxxxxx>
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: c5eac6ee8bc5 ("tracing/histogram: Simplify handling of .sym-offset in expressions")
CC: Kalesh Singh <kaleshsingh@xxxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
index 452daad7cfb3..682870d004c4 100644
--- a/kernel/trace/trace_events_hist.c
+++ b/kernel/trace/trace_events_hist.c
@@ -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))