]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Feb 2016 20:31:05 +0000 (12:31 -0800)
commit2827c1d0344b3d8e43b5ac17aa211d141b94302c
treef4a158180c60a847cf5a56d96d1c7d084dafd999
parentee36c87a655325a7b5e442a9650a782db4ea20d2
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