[PATCH] PCI: mediatek-gen3: prevent leaking IRQ domains when IRQ not found

Manivannan Sadhasivam manivannan.sadhasivam at oss.qualcomm.com
Sat Apr 4 09:51:23 PDT 2026


On Tue, 24 Mar 2026 17:35:41 +0800, Chen-Yu Tsai wrote:
> In mtk_pcie_setup_irq(), the IRQ domains are allocated before the
> controller's IRQ is fetched. If the latter fails the function
> directly returns an error.
> 
> Instead, reverse the order so that the IRQ domains are allocated
> after the controller's IRQ is found.
> 
> [...]

Applied, thanks!

[1/1] PCI: mediatek-gen3: prevent leaking IRQ domains when IRQ not found
      commit: 5573c44cb3fd01a9f62d569ae9ac870ef5f0e0ba

Best regards,
-- 
Manivannan Sadhasivam <mani at kernel.org>




More information about the Linux-mediatek mailing list