mtd: rawnand: fsmc: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 5 Mar 2021 08:25:59 +0000 (02:25 -0600)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Mar 2021 11:17:46 +0000 (12:17 +0100)
commitfe1bc21f447289670c331d4826aea8f3ff38ae6e
tree3a61824a4b182f9c57af7676fc4b5fd90bcfc7af
parent36a016a572cad7e5626b13c98b414302d2b10929
mtd: rawnand: fsmc: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement 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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210305082559.GA137646@embeddedor
drivers/mtd/nand/raw/fsmc_nand.c