@@ -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;
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 Signed-off-by: Aaron Oman <aaron.oman@gmail.com> --- arch/riscv/kernel/signal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)