summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsencrypt.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-10-25 07:02:56 +0200
committerSteve French <sfrench@us.ibm.com>2010-10-26 18:22:38 +0000
commitb235f371a2572d7c86a121d96d889eee02ed00e2 (patch)
tree72ae25c83a6ba59926a599e28d47b67bfa0ad863 /fs/cifs/cifsencrypt.c
parent21e733930be6458e0c33482b6783e7c15ba984eb (diff)
downloadlwn-b235f371a2572d7c86a121d96d889eee02ed00e2.tar.gz
lwn-b235f371a2572d7c86a121d96d889eee02ed00e2.zip
cifs: cifs_convert_address() returns zero on error
The cifs_convert_address() returns zero on error but this caller is testing for negative returns. Btw. "i" is unsigned here, so it's never negative. Reviewed-by: Jeff Layton <jlayton@samba.org> Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
0 files changed, 0 insertions, 0 deletions