mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-07 15:01:44 +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;
|
ua = (struct tipc_uaddr *)&tsk->peer;
|
||||||
if (!syn && ua->family != AF_TIPC)
|
if (!syn && ua->family != AF_TIPC)
|
||||||
return -EDESTADDRREQ;
|
return -EDESTADDRREQ;
|
||||||
atype = ua->addrtype;
|
atype = ua->addrtype;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (unlikely(syn)) {
|
if (unlikely(syn)) {
|
||||||
|
|
|
@ -49,12 +49,13 @@ struct tipc_conn;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct tipc_subscription - TIPC network topology subscription object
|
* struct tipc_subscription - TIPC network topology subscription object
|
||||||
|
* @s: host-endian copy of the user subscription
|
||||||
|
* @evt: template for events generated by subscription
|
||||||
* @kref: reference count for this subscription
|
* @kref: reference count for this subscription
|
||||||
* @net: network namespace associated with subscription
|
* @net: network namespace associated with subscription
|
||||||
* @timer: timer governing subscription duration (optional)
|
* @timer: timer governing subscription duration (optional)
|
||||||
* @service_list: adjacent subscriptions in name sequence's subscription list
|
* @service_list: adjacent subscriptions in name sequence's subscription list
|
||||||
* @sub_list: adjacent subscriptions in subscriber's subscription list
|
* @sub_list: adjacent subscriptions in subscriber's subscription list
|
||||||
* @evt: template for events generated by subscription
|
|
||||||
* @conid: connection identifier of topology server
|
* @conid: connection identifier of topology server
|
||||||
* @inactive: true if this subscription is inactive
|
* @inactive: true if this subscription is inactive
|
||||||
* @lock: serialize up/down and timer events
|
* @lock: serialize up/down and timer events
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue