]> git.ipfire.org Git - thirdparty/linux.git/commit
mtd: block2mtd: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 9 Aug 2018 16:05:13 +0000 (11:05 -0500)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 9 Nov 2018 19:32:43 +0000 (20:32 +0100)
commit98473f5acc0070624746f30a8d6012dc70487740
tree4063ee53bf4036416798759e3d61af274250cb77
parent81d9e98fceb674078b5ea0add4df8fc40be558a2
mtd: block2mtd: mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 402015 ("Missing break in switch")
Addresses-Coverity-ID: 402016 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/devices/block2mtd.c