Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jon Maloy and committed by
David S. Miller
02fdc14d 3ca3f39c

+3 -2
+1 -1
net/tipc/socket.c
··· 1450 1450 ua = (struct tipc_uaddr *)&tsk->peer; 1451 1451 if (!syn && ua->family != AF_TIPC) 1452 1452 return -EDESTADDRREQ; 1453 - atype = ua->addrtype; 1453 + atype = ua->addrtype; 1454 1454 } 1455 1455 1456 1456 if (unlikely(syn)) {
+2 -1
net/tipc/subscr.h
··· 49 49 50 50 /** 51 51 * struct tipc_subscription - TIPC network topology subscription object 52 + * @s: host-endian copy of the user subscription 53 + * @evt: template for events generated by subscription 52 54 * @kref: reference count for this subscription 53 55 * @net: network namespace associated with subscription 54 56 * @timer: timer governing subscription duration (optional) 55 57 * @service_list: adjacent subscriptions in name sequence's subscription list 56 58 * @sub_list: adjacent subscriptions in subscriber's subscription list 57 - * @evt: template for events generated by subscription 58 59 * @conid: connection identifier of topology server 59 60 * @inactive: true if this subscription is inactive 60 61 * @lock: serialize up/down and timer events