summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-06-23 03:15:39 -0700
committerDavid S. Miller <davem@davemloft.net>2011-06-23 03:15:39 -0700
commit5c18e80be9ff362f6523b097d495bb2e2f939946 (patch)
tree8a1e980d04d8806cc41ab24ba7a79ed22aae5ed4 /drivers
parent7cdfa4a348b6b199a3189604f2085f1b214b6458 (diff)
downloadlinux-5c18e80be9ff362f6523b097d495bb2e2f939946.tar.bz2
net/usb/kalmia: signedness bug in kalmia_bind()
"status" should be an int here for the error handling to work. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/usb/kalmia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/kalmia.c b/drivers/net/usb/kalmia.c
index d4edeb2af9be..a9b6c63d54e4 100644
--- a/drivers/net/usb/kalmia.c
+++ b/drivers/net/usb/kalmia.c
@@ -135,7 +135,7 @@ kalmia_init_and_get_ethernet_addr(struct usbnet *dev, u8 *ethernet_addr)
static int
kalmia_bind(struct usbnet *dev, struct usb_interface *intf)
{
- u8 status;
+ int status;
u8 ethernet_addr[ETH_ALEN];
/* Don't bind to AT command interface */