From: Wei Yongjun <[email protected]> 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 <[email protected]>
> Reviewed-by: Oleksij Rempel <[email protected]>
Applied.
