From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Date: Fri, 19 Jul 2019 01:21:57 +0000 > Fix to return error code -ENOMEM from the dmam_alloc_coherent() error > handling case instead of 0, as done elsewhere in this function. > > Fixes: d51b6ce441d3 ("net: ethernet: add ag71xx driver") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > Reviewed-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> Applied.