diff options
| author | 2019-01-23 01:09:31 -0600 | |
|---|---|---|
| committer | 2019-01-23 09:06:35 -0800 | |
| commit | f79e3365bc1faeda0e8e1c8e7e332631a43ebdba (patch) | |
| tree | cea02ebafb66a1ddbac5ce3fab97327aba65b8cf /net/tipc/link.c | |
| parent | bnx2x: Bump up driver version to 1.713.36 (diff) | |
| download | wireguard-linux-f79e3365bc1faeda0e8e1c8e7e332631a43ebdba.tar.xz wireguard-linux-f79e3365bc1faeda0e8e1c8e7e332631a43ebdba.zip | |
tipc: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
This patch fixes the following warnings:
net/tipc/link.c:1125:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
net/tipc/socket.c:736:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
net/tipc/socket.c:2418:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
Warning level 3 was used: -Wimplicit-fallthrough=3
This patch is part of the ongoing efforts to enabling
-Wimplicit-fallthrough.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.c')
| -rw-r--r-- | net/tipc/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index 2792a3cae682..ac306d17f8ad 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -1126,7 +1126,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 */ + /* fall through */ case CONN_MANAGER: skb_queue_tail(inputq, skb); return true; |
