]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
kernel: exit: fix coding style missing spaces
authormingzhu wang <mingzhu.wang@transsion.com>
Tue, 9 Jun 2026 02:15:00 +0000 (02:15 +0000)
committerChristian Brauner <brauner@kernel.org>
Mon, 29 Jun 2026 08:29:22 +0000 (10:29 +0200)
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>
Link: https://patch.msgid.link/20260609021436.1739-1-mingzhu.wang@transsion.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
kernel/exit.c

index 1056422bc1013e0179a0dab5e5c98e377cfe82e2..7ac52196d81936ffcb9a6133adc47c145d3e8ab3 100644 (file)
@@ -1111,7 +1111,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);
 }
 
 /*