Searched hist:"1401 cf600d548c72f51e20b5841c330d5c11c9e2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.c | diff 1401cf600d548c72f51e20b5841c330d5c11c9e2 Tue May 19 22:41:16 CDT 2020 Wei Yongjun <weiyongjun1@huawei.com> net: ethernet: ti: am65-cpsw-nuss: fix error handling of am65_cpsw_nuss_probe
Convert to using IS_ERR() instead of NULL test for cpsw_ale_create() error handling. Also fix to return negative error code from this error handling case instead of 0 in.
Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|