diff options
| author | Dan Carpenter <[email protected]> | 2019-06-18 11:54:10 +0000 |
|---|---|---|
| committer | Olof Johansson <[email protected]> | 2019-06-18 13:47:59 +0000 |
| commit | cd3967bee004bcbd142403698d658166fa618c9e (patch) | |
| tree | 9626bcbde0016f7707b34adfbd9904eea8d39f06 /fs/proc/array.c | |
| parent | ARM: ixp4xx: include irqs.h where needed (diff) | |
| download | kernel-cd3967bee004bcbd142403698d658166fa618c9e.tar.gz kernel-cd3967bee004bcbd142403698d658166fa618c9e.zip | |
soc: ixp4xx: npe: Fix an IS_ERR() vs NULL check in probe
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 <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
