linux_dsm_epyc7002/drivers/net/ethernet/octeon
Wei Yongjun df555b6653 netdev: octeon: fix return value check in octeon_mgmt_init_phy()
In case of error, the function of_phy_connect() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-09-28 01:18:32 -04:00
..
Kconfig octeon: Move the Cavium driver 2011-08-12 03:41:18 -07:00
Makefile octeon: Move the Cavium driver 2011-08-12 03:41:18 -07:00
octeon_mgmt.c netdev: octeon: fix return value check in octeon_mgmt_init_phy() 2012-09-28 01:18:32 -04:00