smsc95xx: signedness bug in get_regs()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 10 Jul 2012 20:32:51 +0000 (20:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2012 14:54:45 +0000 (07:54 -0700)
commitd348446b8840602091872b8272855dee196f6dd5
tree52822f855dd80de30de0dc2f1c7f26d109dfa00c
parent064bff1c9f70ba495f83668a3ee2f10ea3f1c99c
smsc95xx: signedness bug in get_regs()

"retval" has to be a signed integer for the error handling to work.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c