diff options
author | Dan Carpenter <error27@gmail.com> | 2011-06-23 03:15:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-23 03:15:39 -0700 |
commit | 5c18e80be9ff362f6523b097d495bb2e2f939946 (patch) | |
tree | 8a1e980d04d8806cc41ab24ba7a79ed22aae5ed4 /drivers/net/usb | |
parent | 7cdfa4a348b6b199a3189604f2085f1b214b6458 (diff) |
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/net/usb')
-rw-r--r-- | drivers/net/usb/kalmia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/kalmia.c b/drivers/net/usb/kalmia.c index d4edeb2af9b..a9b6c63d54e 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 */ |