projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f3ff7
)
mmc: sdhci-xenon: mark expected switch fall-through
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Tue, 3 Jul 2018 22:56:59 +0000
(17:56 -0500)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 16 Jul 2018 09:21:45 +0000
(11:21 +0200)
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 <gustavo@embeddedor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-xenon-phy.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-xenon-phy.c
b/drivers/mmc/host/sdhci-xenon-phy.c
index
a35804b
..
c335052
100644
(file)
--- 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;