[PATCH] x86/alternative: fix semicolon.cocci warnings

kernel test robot posted 1 patch 4 years, 5 months ago
alternative.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] x86/alternative: fix semicolon.cocci warnings
Posted by kernel test robot 4 years, 5 months ago
From: kernel test robot <lkp@intel.com>

arch/x86/kernel/alternative.c:1411:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 26c44b776dba ("x86/alternative: Relax text_poke_bp() constraint")
CC: Peter Zijlstra <peterz@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a33f5c380c4bd3fa5278d690421b72052456d9fe
commit: 26c44b776dba4ac692a0bf5a3836feb8a63fea6b x86/alternative: Relax text_poke_bp() constraint
:::::: branch date: 5 hours ago
:::::: commit date: 5 weeks ago

 alternative.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1408,7 +1408,7 @@ static void text_poke_loc_init(struct te
 
 	default:
 		BUG_ON(len != insn.length);
-	};
+	}
 
 
 	switch (tp->opcode) {