OpenCloudOS-Kernel/drivers/virtio
Mark McLoughlin 4b892e6582 virtio-pci: correctly unregister root device on error
If pci_register_driver() fails we're incorrectly unregistering the root
device with device_unregister() rather than root_device_unregister().

Reported-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-17 21:47:47 +09:30
..
Kconfig virtio: balloon driver 2008-02-04 23:50:13 +11:00
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
config.c Virtio interface 2007-10-23 15:49:54 +10:00
virtio.c virtio: enhance id_matching for virtio drivers 2009-06-12 22:16:40 +09:30
virtio_balloon.c virtio: find_vqs/del_vqs virtio operations 2009-06-12 22:16:36 +09:30
virtio_pci.c virtio-pci: correctly unregister root device on error 2009-07-17 21:47:47 +09:30
virtio_ring.c virtio: indirect ring entries (VIRTIO_RING_F_INDIRECT_DESC) 2009-06-12 22:16:39 +09:30