]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init()
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Fri, 5 Feb 2016 16:45:48 +0000 (17:45 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 6 Feb 2016 07:23:56 +0000 (15:23 +0800)
commit8af0f3756afc7a1280477f6171680180aa6a5d42
tree5f6c3a2de466fef7796f4d67aa36b40d2277922f
parent65411a4b14448f69752e3cbe13be2e00058e3666
crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init()

We are checking twice if dma->cache_pool is not NULL but are never testing
dma->padding_pool value.

Cc: stable@vger.kernel.org
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/cesa.c