Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9089e3be authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman
Browse files

VMCI: fix to pass correct device identity to free_irq()



free_irq() expects the same device identity that was passed to
corresponding request_irq(), otherwise the IRQ is not freed.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarDmitry Torokhov <dtor@vmware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9fd379e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -649,7 +649,7 @@ static int vmci_guest_probe_device(struct pci_dev *pdev,
	return 0;

err_free_irq:
	free_irq(vmci_dev->irq, &vmci_dev);
	free_irq(vmci_dev->irq, vmci_dev);
	tasklet_kill(&vmci_dev->datagram_tasklet);
	tasklet_kill(&vmci_dev->bm_tasklet);