Re: [PATCH] et131x: check return value of dma_alloc_coherent

2016-02-17 Thread David Miller
From: Insu Yun Date: Mon, 15 Feb 2016 21:23:47 -0500 > For error handling, dma_alloc_coherent's return value > needs to be checked, not argument. > > Signed-off-by: Insu Yun Applied, thanks.

[PATCH] et131x: check return value of dma_alloc_coherent

2016-02-15 Thread Insu Yun
For error handling, dma_alloc_coherent's return value needs to be checked, not argument. Signed-off-by: Insu Yun --- drivers/net/ethernet/agere/et131x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/agere/et131x.c b/drivers/net/ethernet/agere/et131x.c