[PATCH RESEND] kernel: exit: fix coding style missing spaces

Mingzhu Wang posted 1 patch 4 days, 2 hours ago
kernel/exit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH RESEND] kernel: exit: fix coding style missing spaces
Posted by Mingzhu Wang 4 days, 2 hours ago
From: mingzhu wang <mingzhu.wang@transsion.com>

Add spaces around bitwise AND and shift operators in sys_exit()
to comply with the Linux kernel coding style.

Signed-off-by: mingzhu wang <mingzhu.wang@transsion.com>
---
 kernel/exit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/exit.c b/kernel/exit.c
index f50d73c272d6..56a3f4453aa5 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1083,7 +1083,7 @@ void __noreturn make_task_dead(int signr)
 
 SYSCALL_DEFINE1(exit, int, error_code)
 {
-	do_exit((error_code&0xff)<<8);
+	do_exit((error_code & 0xff) << 8);
 }
 
 /*
-- 
2.53.0