* [PATCH] clean up some inconsistent indenting
@ 2022-04-21 20:25 ` Jiapeng Chong
0 siblings, 0 replies; 2+ messages in thread
From: Jiapeng Chong @ 2022-04-21 20:25 UTC (permalink / raw)
To: vgupta; +Cc: linux-snps-arc, linux-kernel, Jiapeng Chong, Abaci Robot
Eliminate the follow smatch warning:
./arch/arc/kernel/disasm.c:512:2-28: code aligned with following code on
line 517.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
arch/arc/kernel/disasm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arc/kernel/disasm.c b/arch/arc/kernel/disasm.c
index 1e1db51b6941..412f2c794593 100644
--- a/arch/arc/kernel/disasm.c
+++ b/arch/arc/kernel/disasm.c
@@ -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)
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] clean up some inconsistent indenting
@ 2022-04-21 20:25 ` Jiapeng Chong
0 siblings, 0 replies; 2+ messages in thread
From: Jiapeng Chong @ 2022-04-21 20:25 UTC (permalink / raw)
To: vgupta; +Cc: linux-snps-arc, linux-kernel, Jiapeng Chong, Abaci Robot
Eliminate the follow smatch warning:
./arch/arc/kernel/disasm.c:512:2-28: code aligned with following code on
line 517.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
arch/arc/kernel/disasm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arc/kernel/disasm.c b/arch/arc/kernel/disasm.c
index 1e1db51b6941..412f2c794593 100644
--- a/arch/arc/kernel/disasm.c
+++ b/arch/arc/kernel/disasm.c
@@ -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)
--
2.20.1.7.g153144c
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-21 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 20:25 [PATCH] clean up some inconsistent indenting Jiapeng Chong
2022-04-21 20:25 ` Jiapeng Chong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.