In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break/goto statements instead of
just letting the code fall through to the next case.
Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
*/
rc = 0;
CIFS_I(inode)->time = 0;
*/
rc = 0;
CIFS_I(inode)->time = 0;
default:
goto cgfi_exit;
}
default:
goto cgfi_exit;
}
return NTLMv2;
if (global_secflags & CIFSSEC_MAY_NTLM)
return NTLM;
return NTLMv2;
if (global_secflags & CIFSSEC_MAY_NTLM)
return NTLM;
case IB_EVENT_CQ_ERR:
case IB_EVENT_QP_FATAL:
smbd_disconnect_rdma_connection(info);
case IB_EVENT_CQ_ERR:
case IB_EVENT_QP_FATAL:
smbd_disconnect_rdma_connection(info);