projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2b3ee
)
VFIO: fix out of order labels for error recovery in vfio_pci_init()
author
Jiang Liu
<liuj97@gmail.com>
Fri, 7 Dec 2012 20:43:51 +0000
(13:43 -0700)
committer
Alex Williamson
<alex.williamson@redhat.com>
Fri, 7 Dec 2012 20:43:51 +0000
(13:43 -0700)
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>
drivers/vfio/pci/vfio_pci.c
patch
|
blob
|
history
diff --git
a/drivers/vfio/pci/vfio_pci.c
b/drivers/vfio/pci/vfio_pci.c
index b179f5a357f66b43bdfce849051064741a9e1b38..306b90cf051f63b9bd79337d94b804309288aca4 100644
(file)
--- 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)
return 0;
-out_virqfd:
- vfio_pci_virqfd_exit();
out_driver:
+ vfio_pci_virqfd_exit();
+out_virqfd:
vfio_pci_uninit_perm_bits();
return ret;
}