]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
irqchip/bcm2712-mip: Fix OF node reference imbalance
authorJohan Hovold <johan@kernel.org>
Mon, 13 Oct 2025 09:46:01 +0000 (11:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:30 +0000 (14:02 +0100)
commit2f525dea50f2db43821616e2634d3770520841f2
treebdbfe43e1590fd5d52237234988113ca6dbe0741
parent01f1097166380de2a745cb9a03d0752a341102cc
irqchip/bcm2712-mip: Fix OF node reference imbalance

[ Upstream commit 0435bcc4e5858c632c1b6d5afa637580d9779890 ]

The init callback must not decrement the reference count of the provided
irqchip OF node.

This should not cause any trouble currently, but if the driver ever
starts probe deferring it could lead to warnings about reference
underflow and saturation.

Fixes: 32c6c054661a ("irqchip: Add Broadcom BCM2712 MSI-X interrupt controller")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/irqchip/irq-bcm2712-mip.c