From: Kemeng Shi <shikemeng@huawei.com>
To: <davem@davemloft.net>, <kuba@kernel.org>,
<christian.brauner@ubuntu.com>, <jamorris@linux.microsoft.com>,
<jingxiangfeng@huawei.com>, <orcohen2006@gmail.com>,
<gustavoars@kernel.org>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH] af_unix: cleancode: add space around '&'
Date: Tue, 4 May 2021 17:17:29 +0800 [thread overview]
Message-ID: <da18ae5d-3c27-4688-26e1-d0de0b25eec7@huawei.com> (raw)
Add space around '&' when check MSG_OOB flags
Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
---
net/unix/af_unix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 5a31307ceb76..c0808dd19e98 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -1635,7 +1635,7 @@ static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg,
return err;
err = -EOPNOTSUPP;
- if (msg->msg_flags&MSG_OOB)
+ if (msg->msg_flags & MSG_OOB)
goto out;
if (msg->msg_namelen) {
--
2.23.0
--
Best wishes
Kemeng Shi
reply other threads:[~2021-05-04 9:17 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=da18ae5d-3c27-4688-26e1-d0de0b25eec7@huawei.com \
--to=shikemeng@huawei.com \
--cc=christian.brauner@ubuntu.com \
--cc=davem@davemloft.net \
--cc=gustavoars@kernel.org \
--cc=jamorris@linux.microsoft.com \
--cc=jingxiangfeng@huawei.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=orcohen2006@gmail.com \
/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
all inboxes | Powered by JetHome®