net: fddi: skfp: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 8 Feb 2019 19:14:12 +0000 (13:14 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2019 19:56:11 +0000 (11:56 -0800)
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>
drivers/net/fddi/skfp/pcmplc.c

index 6ef44c480bd500f3f2b6886a6a37eeb3f24f6d40..f29f5a6a45ab66f1ce294f4fa13be74d76cb7d0a 100644 (file)
@@ -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 ;