* tipc: fix htmldoc and smatch warnings
@ 2021-03-29 17:17 jmaloy
2021-03-29 23:40 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: jmaloy @ 2021-03-29 17:17 UTC (permalink / raw)
To: netdev, davem
Cc: kuba, tipc-discussion, tung.q.nguyen, hoang.h.le, tuong.t.lien,
jmaloy, maloy, xinl, ying.xue, parthasarathy.bhuvaragan
From: Jon Maloy <jmaloy@redhat.com>
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>
---
net/tipc/socket.c | 2 +-
net/tipc/subscr.h | 3 ++-
2 files changed, 3 insertions(+), 2 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)) {
diff --git a/net/tipc/subscr.h b/net/tipc/subscr.h
index ddea6554ec46..60b877531b66 100644
--- a/net/tipc/subscr.h
+++ b/net/tipc/subscr.h
@@ -49,12 +49,13 @@ struct tipc_conn;
/**
* 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
* @net: network namespace associated with subscription
* @timer: timer governing subscription duration (optional)
* @service_list: adjacent subscriptions in name sequence'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
* @inactive: true if this subscription is inactive
* @lock: serialize up/down and timer events
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: tipc: fix htmldoc and smatch warnings
2021-03-29 17:17 tipc: fix htmldoc and smatch warnings jmaloy
@ 2021-03-29 23:40 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-03-29 23:40 UTC (permalink / raw)
To: Jon Maloy
Cc: netdev, davem, kuba, tipc-discussion, tung.q.nguyen, hoang.h.le,
tuong.t.lien, maloy, xinl, ying.xue, parthasarathy.bhuvaragan
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Mon, 29 Mar 2021 13:17:31 -0400 you wrote:
> From: Jon Maloy <jmaloy@redhat.com>
>
> 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>
>
> [...]
Here is the summary with links:
- tipc: fix htmldoc and smatch warnings
https://git.kernel.org/netdev/net-next/c/02fdc14d9bf1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-29 23:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 17:17 tipc: fix htmldoc and smatch warnings jmaloy
2021-03-29 23:40 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.