sst-linux/drivers/pci/controller
Thippeswamy Havalige a4d0b76c65 PCI: xilinx-cpm: Fix IRQ domain leak in error path of probe
[ Upstream commit 57b0302240741e73fe51f88404b3866e0d2933ad ]

The IRQ domain allocated for the PCIe controller is not freed if
resource_list_first_type() returns NULL, leading to a resource leak.

This fix ensures properly cleaning up the allocated IRQ domain in
the error path.

Fixes: 49e427e6bd ("Merge branch 'pci/host-probe-refactor'")
Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com>
[kwilczynski: added missing Fixes: tag, refactored to use one of the goto labels]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Link: https://lore.kernel.org/r/20250224155025.782179-2-thippeswamy.havalige@amd.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:33:33 +02:00
..
cadence PCI: cadence-ep: Fix the driver to send MSG TLP for INTx without data payload 2025-04-10 14:33:32 +02:00
dwc
mobiveil
Kconfig
Makefile
pci-aardvark.c
pci-ftpci100.c
pci-host-common.c Revert "PCI: Use preserve_config in place of pci_flags" 2025-01-23 17:17:15 +01:00
pci-host-generic.c
pci-hyperv-intf.c
pci-hyperv.c
pci-ixp4xx.c
pci-loongson.c
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c
pci-thunder-ecam.c
pci-thunder-pem.c
pci-v3-semi.c
pci-versatile.c
pci-xgene-msi.c
pci-xgene.c
pcie-altera-msi.c
pcie-altera.c
pcie-apple.c
pcie-brcmstb.c PCI: brcmstb: Fix potential premature regulator disabling 2025-04-10 14:33:32 +02:00
pcie-hisi-error.c
pcie-iproc-bcma.c
pcie-iproc-msi.c
pcie-iproc-platform.c
pcie-iproc.c
pcie-iproc.h
pcie-mediatek-gen3.c
pcie-mediatek.c
pcie-microchip-host.c
pcie-mt7621.c
pcie-rcar-ep.c PCI: rcar-ep: Fix incorrect variable used when calling devm_request_mem_region() 2025-02-21 13:49:19 +01:00
pcie-rcar-host.c
pcie-rcar.c
pcie-rcar.h
pcie-rockchip-ep.c PCI: rockchip-ep: Fix address translation unit programming 2024-12-14 19:54:16 +01:00
pcie-rockchip-host.c
pcie-rockchip.c
pcie-rockchip.h PCI: rockchip-ep: Fix address translation unit programming 2024-12-14 19:54:16 +01:00
pcie-xilinx-cpm.c PCI: xilinx-cpm: Fix IRQ domain leak in error path of probe 2025-04-10 14:33:33 +02:00
pcie-xilinx-nwl.c
pcie-xilinx.c
vmd.c PCI: vmd: Create domain symlink before pci_bus_add_devices() 2024-12-27 13:52:51 +01:00