OSDN Git Service

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)
commitd769a992966b0a188096fda24fc08fc769ec6547
treed04f2ba5b9b5a568dd761b83e0b48f3ae4bed2cb
parentb04f50ab8a74129b3041a2836c33c916be3c6667
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