Skip to contentSkip to conversation

clean up some inconsistent indenting

PATCH New Jiapeng Chong 1 participant 1 message Apr 21, 2022 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clean up some inconsistent indenting

Eliminate the follow smatch warning:

./arch/arc/kernel/disasm.c:512:2-28: code aligned with following code on line 517.

---
 arch/arc/kernel/disasm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arc/kernel/disasm.c +2 -2
index 1e1db51b6941..412f2c794593 100644
@@ -514,13 +514,13 @@ int __kprobes disasm_next_pc(unsigned long pc, struct pt_regs *regs,
 	/* For the instructions with delay slots, the fall through is the
 	 * instruction following the instruction in delay slot.
 	 */
-	 if (instr.delay_slot) {
+	if (instr.delay_slot) {
 		struct disasm_state instr_d;
 
 		disasm_instr(*next_pc, &instr_d, 0, regs, cregs);
 
 		*next_pc += instr_d.instr_len;
-	 }
+	}
 
 	 /* Zero Overhead Loop - end of the loop */
 	if (!(regs->status32 & STATUS32_L) && (*next_pc == regs->lp_end)
Signature · 7 lines
2.20.1.7.g153144c


_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc