Re: [PATCH] net: ethernet: fix error return code in ag71xx_probe()

2019-07-18 Thread Oleksij Rempel
On 17.07.19 13:52, Wei Yongjun wrote: 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 ---

[PATCH] net: ethernet: fix error return code in ag71xx_probe()

2019-07-17 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 --- drivers/net/ethernet/atheros/ag71xx.c | 4 +++- 1 file changed, 3 insertio