mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
VFIO: fix out of order labels for error recovery in vfio_pci_init()
The two labels for error recovery in function vfio_pci_init() is out of order, so fix it. Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
parent
de2b3eeafb
commit
05bf3aac93
1 changed files with 2 additions and 2 deletions
|
@ -576,9 +576,9 @@ static int __init vfio_pci_init(void)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
out_virqfd:
|
|
||||||
vfio_pci_virqfd_exit();
|
|
||||||
out_driver:
|
out_driver:
|
||||||
|
vfio_pci_virqfd_exit();
|
||||||
|
out_virqfd:
|
||||||
vfio_pci_uninit_perm_bits();
|
vfio_pci_uninit_perm_bits();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue