Re: [PATCH] tracing:Remove unneeded semicolon

From: Steven Rostedt
Date: Mon Nov 01 2021 - 09:42:08 EST


On Mon, 1 Nov 2021 05:56:02 +0000
cgel.zte@xxxxxxxxx wrote:

> From: Zhang Mingyu <zhang.mingyu@xxxxxxxxxx>
>
> Eliminate the following coccinelle check warning:
> kernel/trace/trace_events_hist.c:6087:2-3

Thanks, but a fix (by a robot) was already added to my queue.

https://lore.kernel.org/all/20211030005615.GA41257@3074f0d39c61/

-- Steve


>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Zhang Mingyu <zhang.mingyu@xxxxxxxxxx>
> ---
> kernel/trace/trace_events_hist.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
> index cddf6bf165a0..61586f16a853 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))