Re: [patch] net: ethernet: micrel: fix an error code

2015-08-17 Thread David Miller
From: Dan Carpenter dan.carpen...@oracle.com Date: Fri, 14 Aug 2015 11:54:59 +0300 The dma_mapping_error() function returns true or false. We should return -ENOMEM if it there is a dma mapping error. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Applied, thanks Dan. -- To

Re: [patch] net: ethernet: micrel: fix an error code

2015-08-17 Thread Vinod Koul
On Fri, Aug 14, 2015 at 11:54:59AM +0300, Dan Carpenter wrote: The dma_mapping_error() function returns true or false. We should return -ENOMEM if it there is a dma mapping error. Looks good to me, but should be sent to net folks now me :) -- ~Vinod Signed-off-by: Dan Carpenter

[patch] net: ethernet: micrel: fix an error code

2015-08-14 Thread Dan Carpenter
The dma_mapping_error() function returns true or false. We should return -ENOMEM if it there is a dma mapping error. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/net/ethernet/micrel/ks8842.c b/drivers/net/ethernet/micrel/ks8842.c index f78909a..09d2e16 100644 ---