Skip to content

Commit 02fdc14

Browse files
lmcjomadavem330
authored andcommitted
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>
1 parent 3ca3f39 commit 02fdc14

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎net/tipc/socket.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dlen)
14501450
ua = (struct tipc_uaddr *)&tsk->peer;
14511451
if (!syn && ua->family != AF_TIPC)
14521452
return -EDESTADDRREQ;
1453-
atype = ua->addrtype;
1453+
atype = ua->addrtype;
14541454
}
14551455

14561456
if (unlikely(syn)) {

‎net/tipc/subscr.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,13 @@ struct tipc_conn;
4949

5050
/**
5151
* 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
5254
* @kref: reference count for this subscription
5355
* @net: network namespace associated with subscription
5456
* @timer: timer governing subscription duration (optional)
5557
* @service_list: adjacent subscriptions in name sequence's subscription list
5658
* @sub_list: adjacent subscriptions in subscriber's subscription list
57-
* @evt: template for events generated by subscription
5859
* @conid: connection identifier of topology server
5960
* @inactive: true if this subscription is inactive
6061
* @lock: serialize up/down and timer events

0 commit comments

Comments
 (0)