Commit 503764ec authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman

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: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 96aff92b
...@@ -629,6 +629,7 @@ delayed_msg_process(struct list_head *msg_list, bool drop) ...@@ -629,6 +629,7 @@ delayed_msg_process(struct list_head *msg_list, bool drop)
case LNET_CREDIT_OK: case LNET_CREDIT_OK:
lnet_ni_recv(ni, msg->msg_private, msg, 0, lnet_ni_recv(ni, msg->msg_private, msg, 0,
0, msg->msg_len, msg->msg_len); 0, msg->msg_len, msg->msg_len);
/* fall through */
case LNET_CREDIT_WAIT: case LNET_CREDIT_WAIT:
continue; continue;
default: /* failures */ default: /* failures */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment