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 <smfrench@gmail.com>
Fri, 9 Dec 2011 04:04:47 +0000 (22:04 -0600)
commit59edb63ad08e4f3a9477223c9aaf3fba753085bf
tree226e770896bede879b998a54c947656ee8944c01
parent9a5101c8968c7b3e7de5564af6358d7332cf9a6b
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