Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'pci/controller/mediatek'

- Fix IRQ domain leak when MSI allocation fails (Haotian Zhang)

* pci/controller/mediatek:
PCI: mediatek: Fix IRQ domain leak when MSI allocation fails

+3 -1
+3 -1
drivers/pci/controller/pcie-mediatek.c
··· 585 585 586 586 if (IS_ENABLED(CONFIG_PCI_MSI)) { 587 587 ret = mtk_pcie_allocate_msi_domains(port); 588 - if (ret) 588 + if (ret) { 589 + irq_domain_remove(port->irq_domain); 589 590 return ret; 591 + } 590 592 } 591 593 592 594 return 0;