OpenCloudOS-Kernel/drivers/net/ethernet/xscale
Wei Yongjun 20e76d3d04 net: ethernet: ixp4xx: Fix return value check in ixp4xx_eth_probe()
In case of error, the function mdiobus_get_phy() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.

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-19 13:13:26 -07:00
..
Kconfig net: ethernet: ixp4xx: Support device tree probing 2021-04-25 18:27:13 -07:00
Makefile ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00
ixp4xx_eth.c net: ethernet: ixp4xx: Fix return value check in ixp4xx_eth_probe() 2021-05-19 13:13:26 -07:00
ixp46x_ts.h ixp4xx_eth: move platform_data definition 2020-01-12 12:59:53 -08:00
ptp_ixp46x.c ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00