]> git.baikalelectronics.ru Git - kernel.git/commit
drbd: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 2 Jul 2018 17:49:02 +0000 (12:49 -0500)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:53 +0000 (09:07 -0600)
commit2a8a53d2ecde752f9eec8f7951393f03f9fb89a9
treed04f2ba5b9b5a568dd761b83e0b48f3ae4bed2cb
parent7c3fc566b0578310697acdbfbea47ca187ead94e
drbd: mark expected switch fall-throughs

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

Warning level 2 was used in this case: -Wimplicit-fallthrough=2

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_receiver.c