summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authormingzhu wang <mingzhu.wang@transsion.com>2026-06-09 02:15:00 +0000
committerChristian Brauner <brauner@kernel.org>2026-06-29 10:29:22 +0200
commitd7337cad4dbe6caf9535d3539daed353dd425dc1 (patch)
treec60449a83fd8d8f7c0ac47e8401d1619753d246f /kernel
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
kernel: exit: fix coding style missing spaces
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 1056422bc101..7ac52196d819 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -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);
}
/*