]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: jz4740: Annotate implicit fall through
authorMathieu Malaterre <malat@debian.org>
Wed, 16 Jan 2019 19:52:19 +0000 (20:52 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Feb 2019 07:40:58 +0000 (08:40 +0100)
commit375fd1f7d5326e175b2b9245001a6a3621a94b25
treee6af479148070229709e4188683091c9ffda40fb
parent7868357167ad03aeb05b7de78db759c699ddcb2f
mmc: jz4740: Annotate implicit fall through

There is a plan to build the kernel with -Wimplicit-fallthrough and
these places in the code produced warnings (W=1).

This commit removes the following warnings:

  drivers/mmc/host/jz4740_mmc.c:745:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  drivers/mmc/host/jz4740_mmc.c:779:3: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/jz4740_mmc.c