]> git.karo-electronics.de Git - karo-tx-linux.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)
commit8a3978ad55fb4c0564d285fb2f6cdee2313fce01
tree5f6c3a2de466fef7796f4d67aa36b40d2277922f
parentc033042aa8f69894df37dabcaa0231594834a4e4
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