Skip to contentSkip to conversation

kernel: exit: fix a spacing coding style

PATCH New jiahao 1 participant 1 message Sep 29, 2020

lore
Share & tools
lore

jiahao

author
#0 lore raw

PATCH 1/1 kernel: exit: fix a spacing coding style

Add some spaces before and after the operator.

---
 kernel/exit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/exit.c +1 -1
index 733e80f..a3c831c 100644
@@ -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);
 }
 
 /*
Signature · 1 line
2.7.4