From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:39185 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbcBNWSe (ORCPT ); Sun, 14 Feb 2016 17:18:34 -0500 Subject: Patch "crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init()" has been added to the 4.4-stable tree To: boris.brezillon@free-electrons.com, gregkh@linuxfoundation.org, herbert@gondor.apana.org.au Cc: , From: Date: Sun, 14 Feb 2016 14:18:33 -0800 Message-ID: <1455488313215106@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From 8a3978ad55fb4c0564d285fb2f6cdee2313fce01 Mon Sep 17 00:00:00 2001 From: Boris BREZILLON Date: Fri, 5 Feb 2016 17:45:48 +0100 Subject: crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init() From: Boris BREZILLON 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 Signed-off-by: Herbert Xu Signed-off-by: Greg Kroah-Hartman --- drivers/crypto/marvell/cesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/crypto/marvell/cesa.c +++ b/drivers/crypto/marvell/cesa.c @@ -306,7 +306,7 @@ static int mv_cesa_dev_dma_init(struct m return -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 boris.brezillon@free-electrons.com 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