]> git.karo-electronics.de Git - mv-sheeva.git/commit
cifs: Fix sparse warning when calling cifs_strtoUCS
authorSteve French <sfrench@us.ibm.com>
Thu, 10 Nov 2011 18:48:20 +0000 (12:48 -0600)
committerSteve French <sfrench@us.ibm.com>
Thu, 10 Nov 2011 18:48:20 +0000 (12:48 -0600)
commit9c32c63bb70b2fafc3b18bee29959c3bf245ceba
tree06397ec435eaad4e3ba9045bf15ad7ef1f810ae0
parented6c038c2167bee886291b62a6865f0da825e8a6
cifs: Fix sparse warning when calling cifs_strtoUCS

Fix sparse endian check warning while calling cifs_strtoUCS

CHECK   fs/cifs/smbencrypt.c
fs/cifs/smbencrypt.c:216:37: warning: incorrect type in argument 1
(different base types)
fs/cifs/smbencrypt.c:216:37:    expected restricted __le16 [usertype] *<noident>
fs/cifs/smbencrypt.c:216:37:    got unsigned short *<noident>

Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com
fs/cifs/smbencrypt.c