[PATCH RESEND] kernel: exit: fix coding style missing spaces
From: Mingzhu Wang
Date: Mon Jun 08 2026 - 22:15:09 EST
From: mingzhu wang <mingzhu.wang@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
---
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