alistair23-linux/drivers/crypto/chelsio
Dan Carpenter 7814f552ff crypto: chelsio - Fix an error code in chcr_hash_dma_map()
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: 2f47d58043 ("crypto: chelsio - Move DMA un/mapping to chcr from lld cxgb4 driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-11-29 16:43:49 +11:00
..
chcr_algo.c crypto: chelsio - Fix an error code in chcr_hash_dma_map() 2017-11-29 16:43:49 +11:00
chcr_algo.h crypto: chelsio - Move DMA un/mapping to chcr from lld cxgb4 driver 2017-11-03 21:50:46 +08:00
chcr_core.c crypto: chelsio - Fix memory leak 2017-11-03 21:50:46 +08:00
chcr_core.h crypto: chelsio - Remove allocation of sg list to implement 2K limit of dsgl header 2017-11-03 21:50:45 +08:00
chcr_crypto.h crypto: chelsio - Move DMA un/mapping to chcr from lld cxgb4 driver 2017-11-03 21:50:46 +08:00
Kconfig crypto: chcr - Add AEAD algos. 2016-11-30 20:01:51 +08:00
Makefile