[PATCH] powerpc/xive: fix kmemleak caused by incorrect chip_data lookup
Nam Cao
namcao at linutronix.de
Fri Mar 13 16:48:56 AEDT 2026
Nilay Shroff <nilay at linux.ibm.com> writes:
> The kmemleak reports the following memory leak:
...
> Fix this by retrieving the irq_data from the correct domain using
> irq_domain_get_irq_data() and then accessing the chip_data via
> irq_data_get_irq_chip_data().
>
> Cc: stable at vger.kernel.org
> Fixes: cc0cc23babc9 ("powerpc/xive: Untangle xive from child interrupt controller drivers")
> Signed-off-by: Nilay Shroff <nilay at linux.ibm.com>
Reviewed-by: Nam Cao <namcao at linutronix.de>
More information about the Linuxppc-dev
mailing list