From 759e9eba4380420ee6c33873cde1b503d5962154 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Mon, 14 Oct 2013 19:58:12 +0100 Subject: [PATCH] staging: vt6656: main_usb.c correct pDevice->pControlURB goto Correct goto of patch staging: vt6656: make pControlURB available life time of driver. Which should free_netdev. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/main_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 0de215657388..a4fdd3a73ee1 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -710,7 +710,7 @@ vt6656_probe(struct usb_interface *intf, const struct usb_device_id *id) pDevice->pControlURB = usb_alloc_urb(0, GFP_ATOMIC); if (!pDevice->pControlURB) { DBG_PRT(MSG_LEVEL_ERR, KERN_ERR"Failed to alloc control urb\n"); - goto err_nomem; + goto err_netdev; } pDevice->tx_80211 = device_dma0_tx_80211; -- 2.20.1