summaryrefslogtreecommitdiff
path: root/drivers/comedi
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-02-24 21:22:37 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-25 11:55:01 +0100
commit77e861619baea5a7c934e47fda74b03c0b072aec (patch)
tree28014acea236be5a27638ceaa9c456c573c2d8d6 /drivers/comedi
parentcc312da2d3af87f183c57b672042c85cfe6f15c2 (diff)
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