Skip to content

Commit

Permalink
net/usb/kalmia: signedness bug in kalmia_bind()
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Jun 23, 2011
1 parent 7cdfa4a commit 5c18e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/usb/kalmia.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 5c18e80

Please sign in to comment.