Skip to content
Snippets Groups Projects
Commit 05bf3aac authored by Jiang Liu's avatar Jiang Liu Committed by Alex Williamson
Browse files

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: default avatarJiang Liu <jiang.liu@huawei.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent de2b3eea
No related branches found
No related tags found
No related merge requests found
...@@ -576,9 +576,9 @@ static int __init vfio_pci_init(void) ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment