[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190726123522.GA8470@gondor.apana.org.au>
Date: Fri, 26 Jul 2019 22:35:22 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Chuhong Yuan <hslester96@...il.com>
Cc: unlisted-recipients:; thomas.lendacky@....com, gary.hook@....com,
davem@...emloft.net, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, hslester96@...il.com
Subject: Re: [PATCH] crypto: ccp - Replace dma_pool_alloc + memset with
dma_pool_zalloc
Chuhong Yuan <hslester96@...il.com> wrote:
> Use dma_pool_zalloc instead of using dma_pool_alloc to allocate
> memory and then zeroing it with memset 0.
> This simplifies the code.
>
> Signed-off-by: Chuhong Yuan <hslester96@...il.com>
> ---
> drivers/crypto/ccp/ccp-ops.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists