Files
linux/drivers/net/ethernet
Wei Yongjun 269b7c5ff7 ag71xx: fix return value check in ag71xx_probe()
In case of error, the function of_get_mac_address() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: d51b6ce441 ("net: ethernet: add ag71xx driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-18 20:33:48 -07:00
..
2019-07-15 11:06:27 -07:00
2019-06-14 14:18:53 -06:00
2019-07-18 16:31:27 -07:00
2019-07-07 22:15:12 -07:00
2019-07-15 11:06:27 -07:00
2019-07-07 19:23:05 -07:00
2019-07-15 11:06:27 -07:00
2019-07-14 12:22:11 -07:00
2019-07-15 11:06:27 -07:00