VMCI: Fix an error handling path in vmci_guest_probe_device()
After a successful pci_iomap_range() call, pci_iounmap() should be called in the error handling path, as already done in the remove function. Add the missing call. The corresponding call was added in the remove function in commit 5ee10982 ("VMCI: dma dg: allocate send and receive buffers for DMA datagrams") Fixes: e283a0e8 ("VMCI: dma dg: add MMIO access to registers") Signed-off-by:Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by:
Vishnu Dasa <vishnu.dasa@broadcom.com> Link: https://lore.kernel.org/r/a35bbc3876ae1da70e49dafde4435750e1477be3.1713961553.git.christophe.jaillet@wanadoo.fr Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please sign in to comment