From: jiahao <jiahao243@gmail.com>
To: christian@brauner.io, jiahao@xiaomi.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] kernel: exit: fix a spacing coding style
Date: Tue, 29 Sep 2020 12:48:53 +0800 [thread overview]
Message-ID: <1601354933-28526-1-git-send-email-jiahao@xiaomi.com> (raw)
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
reply other threads:[~2020-09-29 4:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1601354933-28526-1-git-send-email-jiahao@xiaomi.com \
--to=jiahao243@gmail.com \
--cc=christian@brauner.io \
--cc=jiahao@xiaomi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).