[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200428091915.7bead67f@gandalf.local.home>
Date: Tue, 28 Apr 2020 09:19:15 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Zou Wei <zou_wei@...wei.com>
Cc: <acme@...hat.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] tools lib traceevent: Remove unneeded semicolon
On Tue, 28 Apr 2020 17:12:01 +0800
Zou Wei <zou_wei@...wei.com> wrote:
> Fixes coccicheck warning:
>
> tools/lib/traceevent/kbuffer-parse.c:441:2-3: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zou Wei <zou_wei@...wei.com>
> ---
> tools/lib/traceevent/kbuffer-parse.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/lib/traceevent/kbuffer-parse.c b/tools/lib/traceevent/kbuffer-parse.c
> index b887e74..27f3b07 100644
> --- a/tools/lib/traceevent/kbuffer-parse.c
> +++ b/tools/lib/traceevent/kbuffer-parse.c
> @@ -438,7 +438,7 @@ void *kbuffer_translate_data(int swap, void *data, unsigned int *size)
> case KBUFFER_TYPE_TIME_EXTEND:
> case KBUFFER_TYPE_TIME_STAMP:
> return NULL;
> - };
> + }
Acked-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
Arnaldo, can you take this?
Thanks!
-- Steve
>
> *size = length;
>
Powered by blists - more mailing lists