diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-04 23:13:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-05 13:24:01 +0200 |
commit | c53e0c787e672b4edbf719b7c1ec5833db3af2da (patch) | |
tree | e8850f4c95617bc6994639ad59a0cb1c6cf0d0de /net/tipc/link.c | |
parent | cxgb4: Fix the condition to check if the card is T5 (diff) | |
download | linux-c53e0c787e672b4edbf719b7c1ec5833db3af2da.tar.xz linux-c53e0c787e672b4edbf719b7c1ec5833db3af2da.zip |
tipc: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Warning level 2 was used: -Wimplicit-fallthrough=2
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/tipc/link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index 695acb783969..63860329dbaa 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -1063,6 +1063,7 @@ static bool tipc_data_input(struct tipc_link *l, struct sk_buff *skb, skb_queue_tail(mc_inputq, skb); return true; } + /* else: fall through */ case CONN_MANAGER: skb_queue_tail(inputq, skb); return true; |