Message ID | 20200907132144.3144704-1-yangyingliang@huawei.com |
---|---|
State | New |
Headers | show |
Series | [net-next] netlink: add spaces around '&' in netlink_recvmsg() | expand |
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index d2d1448274f5..5a86bf4f80b1 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -1929,12 +1929,12 @@ static int netlink_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, struct scm_cookie scm; struct sock *sk = sock->sk; struct netlink_sock *nlk = nlk_sk(sk); - int noblock = flags&MSG_DONTWAIT; + int noblock = flags & MSG_DONTWAIT; size_t copied; struct sk_buff *skb, *data_skb; int err, ret; - if (flags&MSG_OOB) + if (flags & MSG_OOB) return -EOPNOTSUPP; copied = 0;
Spaces preferred around '&'. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> --- net/netlink/af_netlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)