projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a94b4e
)
selftests/x86/ldt_gdt: remove unneeded semicolon
author
Yang Li
<yang.lee@linux.alibaba.com>
Sun, 7 Feb 2021 07:42:10 +0000
(15:42 +0800)
committer
Shuah Khan
<skhan@linuxfoundation.org>
Mon, 8 Feb 2021 23:32:52 +0000
(16:32 -0700)
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>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/x86/ldt_gdt.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/x86/ldt_gdt.c
b/tools/testing/selftests/x86/ldt_gdt.c
index 1aef72df20a112a30c17f2e567ca8b972a550104..3a29346e1452d51cd3cb363d5967841065068286 100644
(file)
--- 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);