[<prev] [next>] [day] [month] [year] [list]
Message-ID: <da18ae5d-3c27-4688-26e1-d0de0b25eec7@huawei.com>
Date: Tue, 4 May 2021 17:17:29 +0800
From: Kemeng Shi <shikemeng@...wei.com>
To: <davem@...emloft.net>, <kuba@...nel.org>,
<christian.brauner@...ntu.com>, <jamorris@...ux.microsoft.com>,
<jingxiangfeng@...wei.com>, <orcohen2006@...il.com>,
<gustavoars@...nel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH] af_unix: cleancode: add space around '&'
Add space around '&' when check MSG_OOB flags
Signed-off-by: Kemeng Shi <shikemeng@...wei.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
Powered by blists - more mailing lists