]> git.baikalelectronics.ru Git - kernel.git/commit
block: paride: pd: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 9 Aug 2018 15:54:46 +0000 (10:54 -0500)
committerJens Axboe <axboe@kernel.dk>
Thu, 9 Aug 2018 16:17:38 +0000 (10:17 -0600)
commita1a24b471a0b13f1626fb1bc001f6c2fbbe47852
tree986bad6d2653f8f6f15e82500454058ec9155faa
parentc7372fbc1873aa828c6d60ab435d5767d00e8378
block: paride: pd: mark expected switch fall-throughs

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

Addresses-Coverity-ID: 1056543 ("Missing break in switch")
Addresses-Coverity-ID: 1056544 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/paride/pd.c