* [PATCH -next] tools/counter: Remove unneeded semicolon
@ 2023-12-20 0:51 Yang Li
2023-12-20 15:53 ` Fabrice Gasnier
2023-12-20 16:44 ` William Breathitt Gray
0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2023-12-20 0:51 UTC (permalink / raw)
To: fabrice.gasnier, william.gray
Cc: linux-iio, linux-kernel, Yang Li, Abaci Robot
./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>
---
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);
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] tools/counter: Remove unneeded semicolon
2023-12-20 0:51 [PATCH -next] tools/counter: Remove unneeded semicolon Yang Li
@ 2023-12-20 15:53 ` Fabrice Gasnier
2023-12-20 16:44 ` William Breathitt Gray
1 sibling, 0 replies; 3+ messages in thread
From: Fabrice Gasnier @ 2023-12-20 15:53 UTC (permalink / raw)
To: Yang Li, william.gray; +Cc: linux-iio, linux-kernel, Abaci Robot
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);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] tools/counter: Remove unneeded semicolon
2023-12-20 0:51 [PATCH -next] tools/counter: Remove unneeded semicolon Yang Li
2023-12-20 15:53 ` Fabrice Gasnier
@ 2023-12-20 16:44 ` William Breathitt Gray
1 sibling, 0 replies; 3+ messages in thread
From: William Breathitt Gray @ 2023-12-20 16:44 UTC (permalink / raw)
To: Yang Li; +Cc: fabrice.gasnier, linux-iio, linux-kernel, Abaci Robot
[-- Attachment #1: Type: text/plain, Size: 422 bytes --]
On Wed, 20 Dec 2023 08:51:43 +0800, 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
>
>
Applied, thanks!
[1/1] tools/counter: Remove unneeded semicolon
commit: b7760cf94d4f2665bf40d08dd69aa5d0b4aa593f
William Breathitt Gray
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-20 16:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-20 0:51 [PATCH -next] tools/counter: Remove unneeded semicolon Yang Li
2023-12-20 15:53 ` Fabrice Gasnier
2023-12-20 16:44 ` William Breathitt Gray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox