On Fri, Nov 10, 2017 at 12:25:43AM +0300, Dan Carpenter wrote:
> The dma_map_sg() function returns zero on error and positive values on
> success. We want to return -ENOMEM on failure here and zero on success.
>
> Fixes: 2f47d5804311 ("crypto: chelsio - Move DMA un/mapping to chcr from lld
> cxg
The dma_map_sg() function returns zero on error and positive values on
success. We want to return -ENOMEM on failure here and zero on success.
Fixes: 2f47d5804311 ("crypto: chelsio - Move DMA un/mapping to chcr from lld
cxgb4 driver")
Signed-off-by: Dan Carpenter
diff --git a/drivers/crypto/ch