summaryrefslogtreecommitdiffstats
path: root/fs/cifs/sess.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-11-27 00:01:51 +0100
committerSteve French <stfrench@microsoft.com>2018-12-24 05:41:11 +0100
commit07fa6010ff939ef6c5a9ae0d230fdfd3bad82722 (patch)
treea4b800f9f18aab5e308a4b5b7293bf69f4aba0cf /fs/cifs/sess.c
parentcifs: change smb2_query_eas to use the compound query-info helper (diff)
downloadlinux-07fa6010ff939ef6c5a9ae0d230fdfd3bad82722.tar.xz
linux-07fa6010ff939ef6c5a9ae0d230fdfd3bad82722.zip
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>
Diffstat (limited to 'fs/cifs/sess.c')
-rw-r--r--fs/cifs/sess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index aa23c00367ec..7fa447aa2b50 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -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: