Messages in this thread | | | Date | Tue, 18 Jun 2019 06:48:11 -0700 | From | Olof Johansson <> | Subject | Re: [PATCH] soc: ixp4xx: npe: Fix an IS_ERR() vs NULL check in probe |
| |
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@oracle.com> > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Applied, thanks!
-Olof
| |