linux-stable/drivers/virtio
weiping zhang c5a5c47c40 virtio: release virtio index when fail to device_register
commit e60ea67bb6 upstream.

index can be reused by other virtio device.

Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-14 09:52:48 +01:00
..
Kconfig x86/lguest: Remove lguest support 2017-08-24 09:57:28 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio.c virtio: release virtio index when fail to device_register 2017-12-14 09:52:48 +01:00
virtio_balloon.c virtio-balloon: coding format cleanup 2017-07-25 16:37:35 +03:00
virtio_input.c virtio: wrap find_vqs 2017-05-02 23:41:42 +03:00
virtio_mmio.c virtio: add context flag to find vqs 2017-05-02 23:41:43 +03:00
virtio_pci_common.c virtio_pci: fix cpu affinity support 2017-08-25 21:38:26 +03:00
virtio_pci_common.h virtio: add context flag to find vqs 2017-05-02 23:41:43 +03:00
virtio_pci_legacy.c virtio: add context flag to find vqs 2017-05-02 23:41:43 +03:00
virtio_pci_modern.c virtio: add context flag to find vqs 2017-05-02 23:41:43 +03:00
virtio_ring.c SCSI misc on 20170907 2017-09-07 21:11:05 -07:00