Wei Yongjun c7d8302478 net: korina: Fix return value check in korina_probe()
In case of error, the function devm_platform_ioremap_resource_byname()
returns ERR_PTR() and never returns NULL. The NULL test in the return
value check should be replaced with IS_ERR().

Fixes: b4cd249a8cc0 ("net: korina: Use devres functions")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-05-13 15:54:08 -07:00
..
2021-04-27 14:07:27 -07:00
2021-04-05 08:59:21 +02:00
2021-04-29 11:57:23 -07:00
2021-05-11 20:16:30 +02:00
2021-03-30 17:06:50 -07:00
2021-04-16 15:31:02 -07:00
2021-04-16 15:31:02 -07:00
2021-04-13 15:13:13 -07:00
2021-04-14 13:13:53 -07:00