[PATCH] riscv: Replaces spaces with tabs

Aaron Oman aaron.oman at gmail.com
Thu Nov 26 15:31:08 EST 2020


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 at gmail.com>
---
 arch/riscv/kernel/signal.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/riscv/kernel/signal.c b/arch/riscv/kernel/signal.c
index e996e08f1061..175861ec2671 100644
--- a/arch/riscv/kernel/signal.c
+++ b/arch/riscv/kernel/signal.c
@@ -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;
-- 
2.27.0




More information about the linux-riscv mailing list