Searched hist:beb5ac20b3f90ffabac1eecd3c00205255df0728 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | diff beb5ac20b3f90ffabac1eecd3c00205255df0728 Wed Sep 26 14:51:58 CDT 2012 Wei Yongjun <yongjun_wei@trendmicro.com.cn> netdev: pasemi: fix return value check in pasemi_mac_phy_init()
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>
|