提交 05bf3aac 编写于 作者: J Jiang Liu 提交者: Alex Williamson

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: NJiang Liu <jiang.liu@huawei.com>
Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
上级 de2b3eea
......@@ -576,9 +576,9 @@ static int __init vfio_pci_init(void)
return 0;
out_virqfd:
vfio_pci_virqfd_exit();
out_driver:
vfio_pci_virqfd_exit();
out_virqfd:
vfio_pci_uninit_perm_bits();
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册