From: Gustavo A. R. Silva Date: Thu, 12 Oct 2017 16:16:32 +0000 (-0500) Subject: staging: lustre: lnet: net_fault: mark expected switch fall-through X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=503764ec2643212f60a0029fb90e3373e1bd0c1e;p=openwrt%2Fstaging%2Fblogic.git staging: lustre: lnet: net_fault: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva Reviewed-by: Andreas Dilger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lnet/lnet/net_fault.c b/drivers/staging/lustre/lnet/lnet/net_fault.c index 03f3d18a1a29..7391e16a0f7c 100644 --- a/drivers/staging/lustre/lnet/lnet/net_fault.c +++ b/drivers/staging/lustre/lnet/lnet/net_fault.c @@ -629,6 +629,7 @@ delayed_msg_process(struct list_head *msg_list, bool drop) case LNET_CREDIT_OK: lnet_ni_recv(ni, msg->msg_private, msg, 0, 0, msg->msg_len, msg->msg_len); + /* fall through */ case LNET_CREDIT_WAIT: continue; default: /* failures */