[PATCH] mtd: spi-nor: mark desirable switch case fall through

2018-11-09 Thread Tudor.Ambarus
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

[PATCH] mtd: spi-nor: mark desirable switch case fall through

2018-11-09 Thread Tudor.Ambarus
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