cifs: cifs_convert_address() returns zero on error
authorDan Carpenter <error27@gmail.com>
Mon, 25 Oct 2010 05:02:56 +0000 (07:02 +0200)
committerSteve French <sfrench@us.ibm.com>
Tue, 26 Oct 2010 18:22:38 +0000 (18:22 +0000)
commitb235f371a2572d7c86a121d96d889eee02ed00e2
tree72ae25c83a6ba59926a599e28d47b67bfa0ad863
parent21e733930be6458e0c33482b6783e7c15ba984eb
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>
fs/cifs/connect.c