在 2020/7/18 9:39, David Miller 写道:
From: Wang Hai
Date: Fri, 17 Jul 2020 14:21:17 +0800
The driver forgets to call destroy_workqueue when cxgb3 probe fails.
Add the missed calls to fix it.
Fixes: 4d22de3e6cc4 ("Add support for the latest 1G/10G Chelsio adapter, T3.")
Reported-by: Hulk Robot
From: Wang Hai
Date: Fri, 17 Jul 2020 14:21:17 +0800
> The driver forgets to call destroy_workqueue when cxgb3 probe fails.
> Add the missed calls to fix it.
>
> Fixes: 4d22de3e6cc4 ("Add support for the latest 1G/10G Chelsio adapter, T3.")
> Reported-by: Hulk Robot
> Signed-off-by: Wang Hai
> Add the missed calls to fix it.
You propose to add only a single function call.
…
> +++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
> @@ -3407,6 +3407,7 @@ static int init_one(struct pci_dev *pdev, const struct
> pci_device_id *ent)
> out_disable_device:
> pci_disable_device(pdev
The driver forgets to call destroy_workqueue when cxgb3 probe fails.
Add the missed calls to fix it.
Fixes: 4d22de3e6cc4 ("Add support for the latest 1G/10G Chelsio adapter, T3.")
Reported-by: Hulk Robot
Signed-off-by: Wang Hai
---
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 1 +
1 file c