Re: [PATCH] soc: ixp4xx: npe: Fix an IS_ERR() vs NULL check in probe
From: Olof Johansson
Date: Tue Jun 18 2019 - 09:53:26 EST
On Tue, Jun 18, 2019 at 02:54:10PM +0300, Dan Carpenter wrote:
> The devm_ioremap_resource() function doesn't return NULL, it returns
> error pointers.
>
> Fixes: 0b458d7b10f8 ("soc: ixp4xx: npe: Pass addresses as resources")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Applied, thanks!
-Olof