* [PATCH] selftests/x86/ldt_gdt: remove unneeded semicolon
@ 2021-02-07 7:42 Yang Li
2021-02-08 23:34 ` Shuah Khan
0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-02-07 7:42 UTC (permalink / raw)
To: shuah; +Cc: linux-kselftest, linux-kernel, Yang Li
Eliminate the following coccicheck warning:
./tools/testing/selftests/x86/ldt_gdt.c:610:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
tools/testing/selftests/x86/ldt_gdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/x86/ldt_gdt.c b/tools/testing/selftests/x86/ldt_gdt.c
index 1aef72d..3a29346 100644
--- a/tools/testing/selftests/x86/ldt_gdt.c
+++ b/tools/testing/selftests/x86/ldt_gdt.c
@@ -607,7 +607,7 @@ static void do_multicpu_tests(void)
failures++;
asm volatile ("mov %0, %%ss" : : "rm" (orig_ss));
- };
+ }
ftx = 100; /* Kill the thread. */
syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0);
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests/x86/ldt_gdt: remove unneeded semicolon
2021-02-07 7:42 [PATCH] selftests/x86/ldt_gdt: remove unneeded semicolon Yang Li
@ 2021-02-08 23:34 ` Shuah Khan
0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2021-02-08 23:34 UTC (permalink / raw)
To: Yang Li, shuah; +Cc: linux-kselftest, linux-kernel, Shuah Khan
On 2/7/21 12:42 AM, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./tools/testing/selftests/x86/ldt_gdt.c:610:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
> tools/testing/selftests/x86/ldt_gdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/x86/ldt_gdt.c b/tools/testing/selftests/x86/ldt_gdt.c
> index 1aef72d..3a29346 100644
> --- a/tools/testing/selftests/x86/ldt_gdt.c
> +++ b/tools/testing/selftests/x86/ldt_gdt.c
> @@ -607,7 +607,7 @@ static void do_multicpu_tests(void)
>
> failures++;
> asm volatile ("mov %0, %%ss" : : "rm" (orig_ss));
> - };
> + }
>
> ftx = 100; /* Kill the thread. */
> syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0);
>
Thank you. Now applied to linux-kselftest next for 5.12-rc1
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-08 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07 7:42 [PATCH] selftests/x86/ldt_gdt: remove unneeded semicolon Yang Li
2021-02-08 23:34 ` Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).