lkml.org 
[lkml]   [2020]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] kernel: exit: fix a spacing coding style
Date
Add some spaces before and after the operator.

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

diff --git a/kernel/exit.c b/kernel/exit.c
index 733e80f..a3c831c 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -869,7 +869,7 @@ EXPORT_SYMBOL(complete_and_exit);

SYSCALL_DEFINE1(exit, int, error_code)
{
- do_exit((error_code&0xff)<<8);
+ do_exit((error_code & 0xff) << 8);
}

/*
--
2.7.4
\
 
 \ /
  Last update: 2020-09-29 06:49    [W:0.218 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site