linux_dsm_epyc7002/drivers/net/ethernet/ti
Ivan Khoronzhuk 8a83c5d796 net: ethernet: ti: cpdma: correct error handling for chan create
It's not correct to return NULL when that is actually an error and
function returns errors in any other wrong case. In the same time,
the cpsw driver and davinci emac doesn't check error case while
creating channel and it can miss actual error. Also remove WARNs
replacing them on dev_err msgs.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-12-13 15:49:53 -05:00
..
cpmac.c
cpsw_ale.c
cpsw_ale.h
cpsw-common.c
cpsw-phy-sel.c
cpsw.c net: ethernet: ti: cpdma: correct error handling for chan create 2017-12-13 15:49:53 -05:00
cpsw.h
cpts.c
cpts.h
davinci_cpdma.c net: ethernet: ti: cpdma: correct error handling for chan create 2017-12-13 15:49:53 -05:00
davinci_cpdma.h
davinci_emac.c net: ethernet: ti: cpdma: correct error handling for chan create 2017-12-13 15:49:53 -05:00
davinci_mdio.c
Kconfig
Makefile
netcp_core.c
netcp_ethss.c
netcp_sgmii.c
netcp_xgbepcsr.c
netcp.h
tlan.c
tlan.h