Re: [PATCH v2] ag71xx: fix error return code in ag71xx_probe()

2019-07-18 Thread David Miller
From: Wei Yongjun Date: Fri, 19 Jul 2019 01:21:57 + > 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 > Reviewed-

[PATCH v2] ag71xx: fix error return code in ag71xx_probe()

2019-07-18 Thread Wei Yongjun
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 Reviewed-by: Oleksij Rempel --- v1 -> v2: fix subsystem prefix --- drivers/ne