diff options
author | Dan Carpenter <error27@gmail.com> | 2011-06-23 06:15:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-23 06:15:39 -0400 |
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 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) | |||
135 | static int | 135 | static int |
136 | kalmia_bind(struct usbnet *dev, struct usb_interface *intf) | 136 | kalmia_bind(struct usbnet *dev, struct usb_interface *intf) |
137 | { | 137 | { |
138 | u8 status; | 138 | int status; |
139 | u8 ethernet_addr[ETH_ALEN]; | 139 | u8 ethernet_addr[ETH_ALEN]; |
140 | 140 | ||
141 | /* Don't bind to AT command interface */ | 141 | /* Don't bind to AT command interface */ |