]> 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)
commitf2567f31807892b798d184439d8222c8f2192207
tree986bad6d2653f8f6f15e82500454058ec9155faa
parent6c16a49e7b82e3fdc482e58d5eed4162135efa25
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