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
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
2 matches
Mail list logo