mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-06 14:05:39 +00:00
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>
This commit is contained in:
parent
7cdfa4a348
commit
5c18e80be9
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user