Patch "crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init()" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init()
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
crypto-marvell-cesa-fix-test-in-mv_cesa_dev_dma_init.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
8a3978ad55fb4c0564d285fb2f6cdee2313fce01Mon Sep 17 00:00:00 2001
From: Boris BREZILLON <[email protected]>
Date: Fri, 5 Feb 2016 17:45:48 +0100
Subject: crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init()
From: Boris BREZILLON <[email protected]>
commit 8a3978ad55fb4c0564d285fb2f6cdee2313fce01 upstream.
We are checking twice if dma->cache_pool is not NULL but are never testing dma->padding_pool value.
--- drivers/crypto/marvell/cesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/marvell/cesa.c +1 -1
@@ -306,7 +306,7 @@ static int mv_cesa_dev_dma_init(struct mreturn -ENOMEM ; dma->padding_pool =dmam_pool_create ("cesa_padding" , dev,72 ,1 ,0 ); -if (!dma->cache_pool) +if (!dma->padding_pool)return -ENOMEM ; cesa->dma = dma;
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/crypto-marvell-cesa-fix-test-in-mv_cesa_dev_dma_init.patch queue-4.4/mtd-nand-assign-reasonable-default-name-for-nand-drivers.patch