commit | c4db9934a33e5f276965a14b3eea7a6d64c85065 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon Apr 27 09:40:52 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 20:39:22 2020 -0700 |
tree | 9ece078706339399f2c419f80a2bc314bc7d8851 | |
parent | 0a699302be5986307b3dcf84ac7a0dd30f9e9305 [diff] |
net: ll_temac: Fix return value check in temac_probe() In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Esben Haabendal <esben@geanix.com> Signed-off-by: David S. Miller <davem@davemloft.net>