mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
tipc: fix htmldoc and smatch warnings
We fix a warning from the htmldoc tool and an indentation error reported by smatch. There are no functional changes in this commit. Signed-off-by: Jon Maloy <jmaloy@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3ca3f39cb9
commit
02fdc14d9b
2 changed files with 3 additions and 2 deletions
|
@ -1450,7 +1450,7 @@ static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dlen)
|
|||
ua = (struct tipc_uaddr *)&tsk->peer;
|
||||
if (!syn && ua->family != AF_TIPC)
|
||||
return -EDESTADDRREQ;
|
||||
atype = ua->addrtype;
|
||||
atype = ua->addrtype;
|
||||
}
|
||||
|
||||
if (unlikely(syn)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue