Re: [PATCH next] gpio: qixis-fpga: Fix a NULL vs IS_ERR() bug in probe()

From: Michael Walle
Date: Fri Oct 24 2025 - 02:54:34 EST


On Fri Oct 24, 2025 at 8:19 AM CEST, Dan Carpenter wrote:
> The devm_platform_ioremap_resource() function doesn't return NULL, it
> returns error pointers. Fix the checking to match.
>
> Fixes: e88500247dc3 ("gpio: add QIXIS FPGA GPIO controller")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Reviewed-by: Michael Walle <mwalle@xxxxxxxxxx>

-michael