mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Zou Wei <zou_wei@huawei.com>
Cc: <acme@redhat.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] tools lib traceevent: Remove unneeded semicolon
Date: Tue, 28 Apr 2020 09:19:15 -0400	[thread overview]
Message-ID: <20200428091915.7bead67f@gandalf.local.home> (raw)
In-Reply-To: <1588065121-71236-1-git-send-email-zou_wei@huawei.com>

On Tue, 28 Apr 2020 17:12:01 +0800
Zou Wei <zou_wei@huawei.com> wrote:

> Fixes coccicheck warning:
> 
>  tools/lib/traceevent/kbuffer-parse.c:441:2-3: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zou Wei <zou_wei@huawei.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@goodmis.org>

Arnaldo, can you take this?

Thanks!

-- Steve

>  
>  	*size = length;
>  


  reply	other threads:[~2020-04-28 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-28  9:12 Zou Wei
2020-04-28 13:19 ` Steven Rostedt [this message]
2020-04-28 17:47   ` Arnaldo Carvalho de Melo
2020-05-08 13:05 ` [tip: perf/core] libtraceevent: " tip-bot2 for Zou Wei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200428091915.7bead67f@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=acme@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zou_wei@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®