diff options
| author | 2018-09-15 01:33:50 +0000 | |
|---|---|---|
| committer | 2018-09-17 08:06:41 -0700 | |
| commit | b8b2de91e9dbb89bf4c34a860b04e53a1b1416bf (patch) | |
| tree | 1d243cd1f8bdfda9887afd58adbca6e1584cc5e1 /scripts/Makefile.thinlto | |
| parent | net: dsa: gswip: Fix copy-paste error in gswip_gphy_fw_probe() (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 <weiyongjun1@huawei.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
