From d02659db163e65ed1c00a96d6d098069b449dfaf Mon Sep 17 00:00:00 2001 From: Shaun Tancheff Date: Thu, 6 Feb 2020 16:44:13 -0600 Subject: [PATCH] LU-13210 lnet: gcc8 add implicit-fallthrough decorator With newer compilers and newer kernels -Werror=implicit-fallthrough is enabled. This adds the missing decorator. Test-Parameters: trivial Cray-bug-id: LUS-8476 Signed-off-by: Shaun Tancheff Change-Id: I47334d5a8d0bcf17489c1b15af29cd553fa01a09 Reviewed-on: https://review.whamcloud.com/37466 Reviewed-by: James Simmons Reviewed-by: Neil Brown Reviewed-by: Petros Koutoupis Tested-by: jenkins Tested-by: Maloo Reviewed-by: Wang Shilong Reviewed-by: Oleg Drokin --- lnet/lnet/net_fault.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lnet/lnet/net_fault.c b/lnet/lnet/net_fault.c index 3d78ce4..56365fd6 100644 --- a/lnet/lnet/net_fault.c +++ b/lnet/lnet/net_fault.c @@ -701,6 +701,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); + /* fallthrough */ case LNET_CREDIT_WAIT: continue; default: /* failures */ -- 1.8.3.1