diff options
author | Tudor.Ambarus@microchip.com <Tudor.Ambarus@microchip.com> | 2018-11-09 18:40:21 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-12-10 21:59:07 +0100 |
commit | f66734ae2d8d2b5e39f4ac3c5dc9666125bcb76e (patch) | |
tree | cc3cc4299f0f43ae9908b0e74a548abf21f1b739 /drivers/cdrom | |
parent | mtd: spi-nor: Add support for mx25u12835f (diff) | |
download | linux-f66734ae2d8d2b5e39f4ac3c5dc9666125bcb76e.tar.xz linux-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 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions