Searched hist:"7 a836a2a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/virtio/ |
H A D | virtio_pci_modern_dev.c | 7a836a2a Sun Apr 03 04:11:14 CDT 2022 Christophe JAILLET <christophe.jaillet@wanadoo.fr> virtio: pci: Fix an error handling path in vp_modern_probe()
If an error occurs after a successful pci_request_selected_regions() call, it should be undone by a corresponding pci_release_selected_regions() call, as already done in vp_modern_remove().
Fixes: fd502729fbbf ("virtio-pci: introduce modern device module") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Message-Id: <237109725aad2c3c03d14549f777b1927c84b045.1648977064.git.christophe.jaillet@wanadoo.fr> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|