summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdchar.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-03-05 11:19:33 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-03-11 14:17:39 +0300
commitc6f51f1f5527946a83da930b43da2e37dc741dc2 (patch)
tree0a8cc973d043503e84f32fdf80acc97675694669 /drivers/mtd/mtdchar.c
parent620b90d30c08684dc6ebee07c72755d997f9d1f6 (diff)
downloadlinux-c6f51f1f5527946a83da930b43da2e37dc741dc2.tar.xz
mtd: cfi: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple warnings by explicitly adding multiple break statements and a return instead of letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Acked-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210305081933.GA137147@embeddedor
Diffstat (limited to 'drivers/mtd/mtdchar.c')
0 files changed, 0 insertions, 0 deletions