diff options
author | Thippeswamy Havalige <thippeswamy.havalige@amd.com> | 2025-02-24 21:20:22 +0530 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2025-03-11 14:34:36 +0000 |
commit | 57b0302240741e73fe51f88404b3866e0d2933ad (patch) | |
tree | 77720393a3a3ae6adc4fd48c7b038d4b89abd5eb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) |
PCI: xilinx-cpm: Fix IRQ domain leak in error path of probe
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: 49e427e6bdd1 ("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
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions