diff options
author | Jiang Liu <liuj97@gmail.com> | 2012-12-07 15:43:51 -0500 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2012-12-07 15:43:51 -0500 |
commit | 05bf3aac930752408bf38a3f070061fc5f1b9c73 (patch) | |
tree | b8b158154f60e5f7645033b4daf8a7d29deff99e /drivers/vfio | |
parent | de2b3eeafb555d7b623c9f34e399b39105ca527f (diff) |
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>
Diffstat (limited to 'drivers/vfio')
-rw-r--r-- | drivers/vfio/pci/vfio_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index b179f5a357f6..306b90cf051f 100644 --- a/drivers/vfio/pci/vfio_pci.c +++ b/drivers/vfio/pci/vfio_pci.c | |||
@@ -576,9 +576,9 @@ static int __init vfio_pci_init(void) | |||
576 | 576 | ||
577 | return 0; | 577 | return 0; |
578 | 578 | ||
579 | out_virqfd: | ||
580 | vfio_pci_virqfd_exit(); | ||
581 | out_driver: | 579 | out_driver: |
580 | vfio_pci_virqfd_exit(); | ||
581 | out_virqfd: | ||
582 | vfio_pci_uninit_perm_bits(); | 582 | vfio_pci_uninit_perm_bits(); |
583 | return ret; | 583 | return ret; |
584 | } | 584 | } |