Re: [patch net-next] ethernet: aquantia: fix dma_mapping_error test

2017-02-01 Thread David Miller
From: Dan Carpenter Date: Wed, 1 Feb 2017 11:52:15 +0300 > dma_mapping_error() returns 1 if there is an error and 0 if not. > > Fixes: 018423e90bee ("net: ethernet: aquantia: Add ring support code") > Signed-off-by: Dan Carpenter Applied, thanks Dan.

[patch net-next] ethernet: aquantia: fix dma_mapping_error test

2017-02-01 Thread Dan Carpenter
dma_mapping_error() returns 1 if there is an error and 0 if not. Fixes: 018423e90bee ("net: ethernet: aquantia: Add ring support code") Signed-off-by: Dan Carpenter diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_ring.c b/drivers/net/ethernet/aquantia/atlantic/aq_ring.c index 817c145520c