aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorJon Maloy <[email protected]>2021-03-29 17:17:31 +0000
committerDavid S. Miller <[email protected]>2021-03-29 23:28:50 +0000
commit02fdc14d9bf15d2a2b6aab1f3fd247fe2d70cf1b (patch)
treef112e5cd6db5ae62db32e9c3afd2f63a2c4ab291 /net/tipc/socket.c
parentMerge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/ne... (diff)
downloadkernel-02fdc14d9bf15d2a2b6aab1f3fd247fe2d70cf1b.tar.gz
kernel-02fdc14d9bf15d2a2b6aab1f3fd247fe2d70cf1b.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
-rw-r--r--net/tipc/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c
index 117a472a8e61..f21162aa0cf7 100644
--- a/net/tipc/socket.c
+++ b/net/tipc/socket.c
@@ -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)) {