Commits
Suman Anna committed 3a7aeefd716
irqchip/irq-pruss-intc: Fix potential NULL pointer dereferences The commit 3f154172451e ("irqchip/pruss-intc: Add support for ICSSG INTC on K3 AM65x SoCs") initializes some variables in pruss_intc_configure() and pruss_intc_unconfigure() functions using the looked up intc variable, but this can potentially be NULL, and can cause kernel crashes due to the resulting NULL pointer dereferences. Fix this properly by initializing the variables after checking the intc variable. Fixes: 3f154172451e ("irqchip/pruss-intc: Add support for ICSSG INTC on K3 AM65x SoCs") Signed-off-by: Suman Anna <s-anna@ti.com>