diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-02-08 22:14:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-08 22:56:11 +0300 |
commit | 1323f75fba732a20a694b66ee9eac22387664a4c (patch) | |
tree | 25a82dafce2e26d0676efe7daf518d2e03b8d0c4 /drivers/net/fddi | |
parent | 0d156a371542b14cf9bdd75c8e8453172864e964 (diff) | |
download | linux-1323f75fba732a20a694b66ee9eac22387664a4c.tar.xz |
net: fddi: skfp: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.
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 'drivers/net/fddi')
-rw-r--r-- | drivers/net/fddi/skfp/pcmplc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fddi/skfp/pcmplc.c b/drivers/net/fddi/skfp/pcmplc.c index 6ef44c480bd5..f29f5a6a45ab 100644 --- a/drivers/net/fddi/skfp/pcmplc.c +++ b/drivers/net/fddi/skfp/pcmplc.c @@ -851,6 +851,7 @@ static void pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd) case ACTIONS(PC5_SIGNAL) : ACTIONS_DONE() ; + /* fall through */ case PC5_SIGNAL : if ((cmd != PC_SIGNAL) && (cmd != PC_TIMEOUT_LCT)) break ; |