Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Merge conflict of mlx5 resolved using instructions in merge
commit 9566e650bf
.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -3785,7 +3785,7 @@ static int lan78xx_probe(struct usb_interface *intf,
|
||||
ret = register_netdev(netdev);
|
||||
if (ret != 0) {
|
||||
netif_err(dev, probe, netdev, "couldn't register the device\n");
|
||||
goto out3;
|
||||
goto out4;
|
||||
}
|
||||
|
||||
usb_set_intfdata(intf, dev);
|
||||
@@ -3800,12 +3800,14 @@ static int lan78xx_probe(struct usb_interface *intf,
|
||||
|
||||
ret = lan78xx_phy_init(dev);
|
||||
if (ret < 0)
|
||||
goto out4;
|
||||
goto out5;
|
||||
|
||||
return 0;
|
||||
|
||||
out4:
|
||||
out5:
|
||||
unregister_netdev(netdev);
|
||||
out4:
|
||||
usb_free_urb(dev->urb_intr);
|
||||
out3:
|
||||
lan78xx_unbind(dev, intf);
|
||||
out2:
|
||||
|
Reference in New Issue
Block a user