diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-02-24 23:22:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-25 13:55:01 +0300 |
commit | 77e861619baea5a7c934e47fda74b03c0b072aec (patch) | |
tree | 28014acea236be5a27638ceaa9c456c573c2d8d6 /drivers/comedi | |
parent | cc312da2d3af87f183c57b672042c85cfe6f15c2 (diff) | |
download | linux-77e861619baea5a7c934e47fda74b03c0b072aec.tar.xz |
VMCI: Fix some error handling paths in vmci_guest_probe_device()
The 'err_remove_vmci_dev_g' error label is not at the right place.
This could lead to un-released resource.
There is also a missing label. If pci_alloc_irq_vectors() fails, the
previous vmci_event_subscribe() call must be undone.
Acked-by: Vishnu Dasa <vdasa@vmware.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/959218ce3b135197946d85cd9453551cd04fa5da.1645734041.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions