[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47716558-7a65-4296-92e9-0d923dd66eef@foss.st.com>
Date: Wed, 20 Dec 2023 16:53:44 +0100
From: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
To: Yang Li <yang.lee@...ux.alibaba.com>, <william.gray@...aro.org>
CC: <linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Abaci Robot
<abaci@...ux.alibaba.com>
Subject: Re: [PATCH -next] tools/counter: Remove unneeded semicolon
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@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7782
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
Hi Yang,
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@...s.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);
Powered by blists - more mailing lists