Re: [PATCH] soc: ixp4xx: qmgr: Fix an NULL vs IS_ERR() check in probe

From: Linus Walleij
Date: Sat May 04 2019 - 08:00:01 EST


On Fri, May 3, 2019 at 3:17 PM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

> The devm_ioremap_resource() function doesn't retunr NULL, it returns
> error pointers.
>
> Fixes: ecc133c6da60 ("soc: ixp4xx: qmgr: Pass resources")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Good catch! Patch applied.

I will make sure this fix lands in ARM SoC for v5.2.

Yours,
Linus Walleij