All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
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] cleancode: add space around '&'
Date: Tue, 4 May 2021 15:25:09 +0800	[thread overview]
Message-ID: <ed093244-1ac3-8163-eb45-1e85fef46d32@huawei.com> (raw)

add space around '&'

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  7:25 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=ed093244-1ac3-8163-eb45-1e85fef46d32@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.