Skip to contentSkip to conversation

riscv: Replaces spaces with tabs

PATCH New Aaron Oman 1 participant 1 message Nov 26, 2020 RISC-V

lore
Share & tools
lore

Aaron Oman

author
#0 lore raw

PATCH 1/1 riscv: Replaces spaces with tabs

Fixes these checkpatch.pl errors:

ERROR: code indent should use tabs where possible
+ regs->a0 = regs->orig_a0;$

WARNING: please, no spaces at the start of a line
+ regs->a0 = regs->orig_a0;$

ERROR: code indent should use tabs where possible
+ regs->a0 = regs->orig_a0;$

WARNING: please, no spaces at the start of a line
+ regs->a0 = regs->orig_a0;$

ERROR: code indent should use tabs where possible
+ regs->a0 = regs->orig_a0;$

WARNING: please, no spaces at the start of a line
+ regs->a0 = regs->orig_a0;$

total: 3 errors, 3 warnings, 320 lines checked

---
 arch/riscv/kernel/signal.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/riscv/kernel/signal.c +3 -3
index e996e08f1061..175861ec2671 100644
@@ -252,7 +252,7 @@ static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
 			}
 			fallthrough;
 		case -ERESTARTNOINTR:
-                        regs->a0 = regs->orig_a0;
+			regs->a0 = regs->orig_a0;
 			regs->epc -= 0x4;
 			break;
 		}
@@ -284,11 +284,11 @@ static void do_signal(struct pt_regs *regs)
 		case -ERESTARTNOHAND:
 		case -ERESTARTSYS:
 		case -ERESTARTNOINTR:
-                        regs->a0 = regs->orig_a0;
+			regs->a0 = regs->orig_a0;
 			regs->epc -= 0x4;
 			break;
 		case -ERESTART_RESTARTBLOCK:
-                        regs->a0 = regs->orig_a0;
+			regs->a0 = regs->orig_a0;
 			regs->a7 = __NR_restart_syscall;
 			regs->epc -= 0x4;
 			break;
Signature · 7 lines
2.27.0


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