Re: [PATCH 2/2] irqchip/ls-extirq: fix devm_of_iomap() error check
From: Herve Codina
Date: Tue Feb 24 2026 - 07:54:30 EST
Hi Ioana,
On Tue, 24 Feb 2026 13:36:10 +0200
Ioana Ciornei <ioana.ciornei@xxxxxxx> wrote:
> The devm_of_iomap() function returns an ERR_PTR() encoded error code on
> failure. Replace the incorrect check against NULL with IS_ERR().
>
> Fixes: 05cd654829dd ("irqchip/ls-extirq: Convert to a platform driver to make it work again")
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Closes: https://lore.kernel.org/all/aYXvfbfT6w0TMsXS@stanley.mountain/
> Signed-off-by: Ioana Ciornei <ioana.ciornei@xxxxxxx>
Reviewed-by: Herve Codina <herve.codina@xxxxxxxxxxx>
Best regards,
Hervé