From: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
To: Yang Li <yang.lee@linux.alibaba.com>, <william.gray@linaro.org>
Cc: <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH -next] tools/counter: Remove unneeded semicolon
Date: Wed, 20 Dec 2023 16:53:44 +0100 [thread overview]
Message-ID: <47716558-7a65-4296-92e9-0d923dd66eef@foss.st.com> (raw)
In-Reply-To: <20231220005143.84987-1-yang.lee@linux.alibaba.com>
On 12/20/23 01:51, Yang Li wrote:
> ./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon
> ./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon
> ./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7782
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Hi Yang,
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Thanks for your patch,
Best Regards,
Fabrice
> ---
> tools/counter/counter_watch_events.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/counter/counter_watch_events.c b/tools/counter/counter_watch_events.c
> index 3898fe7e35ec..2ce4c99ebd01 100644
> --- a/tools/counter/counter_watch_events.c
> +++ b/tools/counter/counter_watch_events.c
> @@ -230,8 +230,8 @@ int main(int argc, char **argv)
> break;
> default:
> return EXIT_FAILURE;
> - };
> - };
> + }
> + }
>
> if (nwatch) {
> watches = calloc(nwatch, sizeof(*watches));
> @@ -330,7 +330,7 @@ int main(int argc, char **argv)
> i++;
> break;
> }
> - };
> + }
>
> if (debug)
> print_watch(watches, nwatch);
next prev parent reply other threads:[~2023-12-20 15:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-20 0:51 [PATCH -next] tools/counter: Remove unneeded semicolon Yang Li
2023-12-20 15:53 ` Fabrice Gasnier [this message]
2023-12-20 16:44 ` William Breathitt Gray
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=47716558-7a65-4296-92e9-0d923dd66eef@foss.st.com \
--to=fabrice.gasnier@foss.st.com \
--cc=abaci@linux.alibaba.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=william.gray@linaro.org \
--cc=yang.lee@linux.alibaba.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