2022-11-18 01:15:24

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] kallsyms: Remove unneeded semicolon

./kernel/kallsyms_selftest.c:136:2-3: Unneeded semicolon

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3208
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
kernel/kallsyms_selftest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/kallsyms_selftest.c b/kernel/kallsyms_selftest.c
index c1d73ace63ab..f35d9cc1aab1 100644
--- a/kernel/kallsyms_selftest.c
+++ b/kernel/kallsyms_selftest.c
@@ -133,7 +133,7 @@ static void test_kallsyms_compression_ratio(void)
off++;
}
off += len;
- };
+ }

/*
* 1. The length fields is not counted
--
2.20.1.7.g153144c



2022-11-18 22:05:45

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [PATCH -next] kallsyms: Remove unneeded semicolon

On Fri, Nov 18, 2022 at 08:58:52AM +0800, Yang Li wrote:
> ./kernel/kallsyms_selftest.c:136:2-3: Unneeded semicolon
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3208
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> kernel/kallsyms_selftest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Thanks! Queued.

Luis