summaryrefslogtreecommitdiff
path: root/drivers/net/fddi/skfp
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-02-08 22:14:12 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-08 22:56:11 +0300
commit1323f75fba732a20a694b66ee9eac22387664a4c (patch)
tree25a82dafce2e26d0676efe7daf518d2e03b8d0c4 /drivers/net/fddi/skfp
parent0d156a371542b14cf9bdd75c8e8453172864e964 (diff)
downloadlinux-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/skfp')
-rw-r--r--drivers/net/fddi/skfp/pcmplc.c1
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 ;