* [PATCH -next] x86: remove unneeded semicolon
@ 2021-12-15 2:24 Yang Li
0 siblings, 0 replies; 2+ messages in thread
From: Yang Li @ 2021-12-15 2:24 UTC (permalink / raw)
To: tglx; +Cc: mingo, bp, dave.hansen, x86, hpa, linux-kernel, Yang Li, Abaci Robot
Eliminate the following coccicheck warning:
./arch/x86/kernel/alternative.c:1411:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
arch/x86/kernel/alternative.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 5007c3ffe96f..033ceebbe7aa 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1408,7 +1408,7 @@ static void text_poke_loc_init(struct text_poke_loc *tp, void *addr,
default:
BUG_ON(len != insn.length);
- };
+ }
switch (tp->opcode) {
--
2.20.1.7.g153144c
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH -next] x86: remove unneeded semicolon
@ 2022-03-16 0:16 Yang Li
0 siblings, 0 replies; 2+ messages in thread
From: Yang Li @ 2022-03-16 0:16 UTC (permalink / raw)
To: tglx; +Cc: mingo, bp, dave.hansen, x86, hpa, linux-kernel, Yang Li, Abaci Robot
Eliminate the following coccicheck warning:
./arch/x86/kernel/alternative.c:1444:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
arch/x86/kernel/alternative.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index e1282dedee1b..bbf0b6334466 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1441,7 +1441,7 @@ static void text_poke_loc_init(struct text_poke_loc *tp, void *addr,
default:
BUG_ON(len != insn.length);
- };
+ }
switch (tp->opcode) {
--
2.20.1.7.g153144c
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-16 0:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 2:24 [PATCH -next] x86: remove unneeded semicolon Yang Li
2022-03-16 0:16 Yang Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®