From: Gustavo A. R. Silva Date: Fri, 8 Feb 2019 19:14:12 +0000 (-0600) Subject: net: fddi: skfp: Mark expected switch fall-through X-Git-Tag: microblaze-v5.4-rc1~1274^2~317 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=1323f75fba732a20a694b66ee9eac22387664a4c;p=linux-2.6-microblaze.git 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 Signed-off-by: David S. Miller --- 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 ;