mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 06:00:52 +07:00
cifs: suppress some implicit-fallthrough warnings
To avoid the warning: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
f9793b6fcc
commit
07fa6010ff
@ -1828,7 +1828,7 @@ cifs_parse_mount_options(const char *mountdata, const char *devname,
|
||||
vol->password = NULL;
|
||||
break;
|
||||
}
|
||||
/* Yes it is. Drop down to Opt_pass below.*/
|
||||
/* Fallthrough - to Opt_pass below.*/
|
||||
case Opt_pass:
|
||||
/* Obtain the value string */
|
||||
value = strchr(data, '=');
|
||||
|
@ -534,9 +534,9 @@ cifs_select_sectype(struct TCP_Server_Info *server, enum securityEnum requested)
|
||||
if (global_secflags & CIFSSEC_MAY_NTLM)
|
||||
return NTLM;
|
||||
default:
|
||||
/* Fallthrough to attempt LANMAN authentication next */
|
||||
break;
|
||||
}
|
||||
/* Fallthrough - to attempt LANMAN authentication next */
|
||||
case CIFS_NEGFLAVOR_LANMAN:
|
||||
switch (requested) {
|
||||
case LANMAN:
|
||||
|
Loading…
Reference in New Issue
Block a user