[PATCH] bus: brcmstb_gisb: Check required IRQ lookup results

Florian Fainelli florian.fainelli at broadcom.com
Thu Nov 19 15:01:23 PST 2026


On 11/14/26 06:22, Alex Guo wrote:
> platform_get_irq() can return a negative error code for the timeout
> or target abort interrupt. Passing it to devm_request_irq() can
> replace the lookup error with -EINVAL.
> 
> Check both lookup results and return the original error before
> requesting either interrupt.
> 
> A similar issue was fixed in commit 47c3e06ed95a
> ("spi: tegra210-quad: Fix missin IRQ check in tegra_qspi_probe").
> 
> Fixes: 44127b771d9c ("bus: add Broadcom GISB bus arbiter timeout/error handler")
> Signed-off-by: Alex Guo <alexguo1023 at gmail.com>

Applied to drivers/next, thanks!
-- 
Florian



More information about the linux-arm-kernel mailing list