From: Gustavo A. R. Silva Date: Tue, 3 Jul 2018 22:56:59 +0000 (-0500) Subject: mmc: sdhci-xenon: mark expected switch fall-through X-Git-Tag: v4.19~366^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2061594c612c4535b14bcd062a5bcf308bdd2b98;p=platform%2Fkernel%2Flinux-rpi.git mmc: sdhci-xenon: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 2 was used: -Wimplicit-fallthrough=2 Signed-off-by: Gustavo A. R. Silva Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-xenon-phy.c b/drivers/mmc/host/sdhci-xenon-phy.c index a35804b..c335052 100644 --- a/drivers/mmc/host/sdhci-xenon-phy.c +++ b/drivers/mmc/host/sdhci-xenon-phy.c @@ -526,6 +526,7 @@ static bool xenon_emmc_phy_slow_mode(struct sdhci_host *host, ret = true; break; } + /* else: fall through */ default: reg &= ~XENON_TIMING_ADJUST_SLOW_MODE; ret = false;