diff options
author | Steve French <smfrench@gmail.com> | 2017-03-02 15:42:48 -0600 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-03-02 23:11:54 -0600 |
commit | 284316dd42a2027afe37df34c5199eb4eabed8fd (patch) | |
tree | 5589fe063a8e790857a2f63b04979dad59e77950 /fs/cifs/cifssmb.c | |
parent | 9d49640a21bffd730a6ebf2a0032e022f7caf84a (diff) | |
download | linux-stable-284316dd42a2027afe37df34c5199eb4eabed8fd.tar.gz linux-stable-284316dd42a2027afe37df34c5199eb4eabed8fd.tar.bz2 linux-stable-284316dd42a2027afe37df34c5199eb4eabed8fd.zip |
CIFS: Fix sparse warnings
Fix two minor sparse compile check warnings
Signed-off-by: Steve French <steve.french@primarydata.com>
Acked-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 5005c7995b6a..066950671929 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -4886,7 +4886,7 @@ getDFSRetry: le16_to_cpu(pSMBr->t2.DataCount), num_of_nodes, target_nodes, nls_codepage, remap, search_name, - pSMBr->hdr.Flags2 & SMBFLG2_UNICODE); + (pSMBr->hdr.Flags2 & SMBFLG2_UNICODE) != 0); GetDFSRefExit: cifs_buf_release(pSMB); |