alistair23-linux/drivers/net/ethernet/atheros
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
..
alx treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
atl1c atl1c: remove redundant assignment to variable tpd_req 2019-07-03 11:32:39 -07:00
atl1e treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
atlx ethernet: remove redundant memset 2019-07-15 11:06:27 -07:00
ag71xx.c ag71xx: fix return value check in ag71xx_probe() 2019-07-18 20:33:48 -07:00
Kconfig net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00
Makefile net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00