diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-27 02:01:51 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-12-24 07:41:11 +0300 |
commit | 07fa6010ff939ef6c5a9ae0d230fdfd3bad82722 (patch) | |
tree | a4b800f9f18aab5e308a4b5b7293bf69f4aba0cf /fs/cifs | |
parent | f9793b6fcc8ede4c2eb5f2d5816b1c8b4f927032 (diff) | |
download | linux-07fa6010ff939ef6c5a9ae0d230fdfd3bad82722.tar.xz |
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')
-rw-r--r-- | fs/cifs/connect.c | 2 | ||||
-rw-r--r-- | fs/cifs/sess.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index f0be8ed6871f..e4a924ba6325 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -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, '='); 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: |