]> www.infradead.org Git - users/jedix/linux-maple.git/commit
of: unittest: Add a case to test if API of_irq_parse_raw() leaks refcount
authorZijun Hu <quic_zijuhu@quicinc.com>
Sun, 9 Feb 2025 12:58:56 +0000 (20:58 +0800)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 25 Feb 2025 13:16:50 +0000 (07:16 -0600)
commitf8647991e07f42d1525c63cfa5a021b3869ef630
tree1453143921b831ab7619fc8fa105a6a6132f2104
parent0cb58d6c7b558a69957fabe159bfb184196e1e8d
of: unittest: Add a case to test if API of_irq_parse_raw() leaks refcount

To test if of_irq_parse_raw(), invoked by of_irq_parse_one(), will leak
refcount of interrupt combo node consisting of controller and nexus.

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250209-of_irq_fix-v2-3-93e3a2659aa7@quicinc.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/of/unittest-data/tests-interrupts.dtsi
drivers/of/unittest.c