]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Feb 2016 22:28:37 +0000 (14:28 -0800)
commit28f946db2752d9681844bce847cebb9c438a33e0
tree655e3039b8470018be3135cae869f01f0da5f988
parent987734524287a0c1e0713558d9a9ca59275f07b8
crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init()

commit 8a3978ad55fb4c0564d285fb2f6cdee2313fce01 upstream.

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

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/marvell/cesa.c