mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
net: Move && and || to end of previous line
Not including net/atm/ Compiled tested x86 allyesconfig only Added a > 80 column line or two, which I ignored. Existing checkpatch plaints willfully, cheerfully ignored. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
152b6a62ae
commit
f64f9e7192
63 changed files with 235 additions and 233 deletions
|
@ -1033,8 +1033,8 @@ static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr,
|
|||
goto out;
|
||||
addr_len = err;
|
||||
|
||||
if (test_bit(SOCK_PASSCRED, &sock->flags)
|
||||
&& !u->addr && (err = unix_autobind(sock)) != 0)
|
||||
if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr &&
|
||||
(err = unix_autobind(sock)) != 0)
|
||||
goto out;
|
||||
|
||||
timeo = sock_sndtimeo(sk, flags & O_NONBLOCK);
|
||||
|
@ -1378,8 +1378,8 @@ static int unix_dgram_sendmsg(struct kiocb *kiocb, struct socket *sock,
|
|||
goto out;
|
||||
}
|
||||
|
||||
if (test_bit(SOCK_PASSCRED, &sock->flags)
|
||||
&& !u->addr && (err = unix_autobind(sock)) != 0)
|
||||
if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr
|
||||
&& (err = unix_autobind(sock)) != 0)
|
||||
goto out;
|
||||
|
||||
err = -EMSGSIZE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue