diff options
author | Wei Yongjun <[email protected]> | 2018-09-15 01:33:50 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-09-17 08:06:41 -0700 |
commit | b8b2de91e9dbb89bf4c34a860b04e53a1b1416bf (patch) | |
tree | 1d243cd1f8bdfda9887afd58adbca6e1584cc5e1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f592e0b9895cd6f04ba2771a3903317dd7c1ba31 (diff) |
net: lantiq: Fix return value check in xrx200_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Fixes: fe1a56420cf2 ("net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Hauke Mehrtens <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions