aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorTudor.Ambarus@microchip.com <Tudor.Ambarus@microchip.com>2018-11-09 17:40:21 +0000
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-12-10 21:59:07 +0100
commitf66734ae2d8d2b5e39f4ac3c5dc9666125bcb76e (patch)
treecc3cc4299f0f43ae9908b0e74a548abf21f1b739 /include/linux/mtd
parentmtd: spi-nor: Add support for mx25u12835f (diff)
downloadlinux-dev-f66734ae2d8d2b5e39f4ac3c5dc9666125bcb76e.tar.xz
linux-dev-f66734ae2d8d2b5e39f4ac3c5dc9666125bcb76e.zip
mtd: spi-nor: mark desirable switch case fall through
gcc 7 with -Wimplicit-fallthrough raises: drivers/mtd/spi-nor/spi-nor.c: In function ‘set_4byte’: drivers/mtd/spi-nor/spi-nor.c:289:13: warning: this statement may fall through [-Wimplicit-fallthrough=] need_wren = true; ~~~~~~~~~~^~~~~~ drivers/mtd/spi-nor/spi-nor.c:290:2: note: here case SNOR_MFR_MACRONIX: ^~~~ Quiet the warning by marking the expected switch fall through. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions