[PATCH] drbd: Mark expected switch fall-throughs

2019-02-11 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: In file included from drivers/block/drbd/drbd_actlog.c:30: drivers/block/drbd/drbd_int.h: In function ‘__drbd_chk_io_error_’: drivers/block/drbd/dr

[PATCH] drbd: mark expected switch fall-throughs

2018-07-02 Thread Gustavo A. R. Silva
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 --- drivers/block/drbd/drbd_receiver.c | 3 +++ 1 file changed, 3 insertions(+) diff -