mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 19:54:03 +08:00
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 <garsilva@embeddedor.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
96aff92b31
commit
503764ec26
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user