Re: [PATCH] crypto: cesa: fix test in mv_cesa_dev_dma_init()

2016-02-05 Thread Herbert Xu
On Fri, Feb 05, 2016 at 05:45:48PM +0100, Boris Brezillon wrote: > We are checking twice if dma->cache_pool is not NULL but are never testing > dma->padding_pool value. > > Signed-off-by: Boris Brezillon Applied to crypto. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PG

[PATCH] crypto: cesa: fix test in mv_cesa_dev_dma_init()

2016-02-05 Thread Boris Brezillon
We are checking twice if dma->cache_pool is not NULL but are never testing dma->padding_pool value. Signed-off-by: Boris Brezillon --- drivers/crypto/marvell/cesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c i