summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2026-08-11 21:00:13 +0100
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>2026-09-10 14:11:55 +0200
commit5d9e9b3a27994a2fadce283801b7104a68ea4c48 (patch)
tree613960d367f4d31beacb48f9af9eccd856041b83 /scripts/basic/split-include.c
parent49daf16c881bc91a55355a3e7f03471c2b213255 (diff)
downloadlinux-5d9e9b3a27994a2fadce283801b7104a68ea4c48.tar.gz
linux-5d9e9b3a27994a2fadce283801b7104a68ea4c48.zip
PCI: rzg3s: Fix IRQ domain initialization error handling
rzg3s_pcie_init_irqdomain() installs chained handlers for the INTx parent interrupts before creating the INTx irqdomain and initializing MSI support. If any subsequent step fails, such as obtaining an INTx IRQ, creating the irqdomain, or initializing MSI, the error path returns without removing any chained handlers that were already installed. This leaves stale handler and data pointers attached to the parent interrupts. Add a helper to tear down the INTx IRQ setup, including removing the IRQ domain and clearing the chained handlers. Use it to unwind partially completed initialization and from the normal IRQ domain teardown path. Fixes: 7ef502fb35b28 ("PCI: Add Renesas RZ/G3S host controller driver") Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260811200013.185956-4-prabhakar.mahadev-lad.rj@bp.renesas.com
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions