mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
i40evf: missing rtnl_unlock in i40evf_resume()
Signed-off-by: Vasily Averin <vvs@virtuozzo.com> Tested-by: Andrews Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
4bf1b54f9d
commit
f2a1c3680c
@ -2510,6 +2510,7 @@ static int i40evf_resume(struct pci_dev *pdev)
|
|||||||
rtnl_lock();
|
rtnl_lock();
|
||||||
err = i40evf_set_interrupt_capability(adapter);
|
err = i40evf_set_interrupt_capability(adapter);
|
||||||
if (err) {
|
if (err) {
|
||||||
|
rtnl_unlock();
|
||||||
dev_err(&pdev->dev, "Cannot enable MSI-X interrupts.\n");
|
dev_err(&pdev->dev, "Cannot enable MSI-X interrupts.\n");
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user