mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
UPSTREAM: 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:c5eac6ee8b("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> (cherry picked from commitfeea69ec12) Bug: 146055070 Bug: 145972256 Signed-off-by: Kalesh Singh <kaleshsingh@google.com> Change-Id: Id6929c9ea0cc4e9f8e3c7ac1279410db1ae8f413
This commit is contained in:
committed by
Kalesh Singh
parent
4e1934722e
commit
8403b307ce
@@ -6089,7 +6089,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))
|
||||
|
||||
Reference in New Issue
Block a user