Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c18e80b authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net/usb/kalmia: signedness bug in kalmia_bind()



"status" should be an int here for the error handling to work.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7cdfa4a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -135,7 +135,7 @@ kalmia_init_and_get_ethernet_addr(struct usbnet *dev, u8 *ethernet_addr)
static int
static int
kalmia_bind(struct usbnet *dev, struct usb_interface *intf)
kalmia_bind(struct usbnet *dev, struct usb_interface *intf)
{
{
	u8 status;
	int status;
	u8 ethernet_addr[ETH_ALEN];
	u8 ethernet_addr[ETH_ALEN];


	/* Don't bind to AT command interface */
	/* Don't bind to AT command interface */