* [PATCH -next] x86/alternative: remove unneeded semicolon
@ 2022-02-15 1:14 Yang Li
0 siblings, 0 replies; only message in thread
From: Yang Li @ 2022-02-15 1:14 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:1445: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 018b61febf0e..9dde74a9e599 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1442,7 +1442,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] only message in thread
only message in thread, other threads:[~2022-02-15 1:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 1:14 [PATCH -next] x86/alternative: remove unneeded semicolon 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®