[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z8P3DdA9d4nqTJVv@gondor.apana.org.au>
Date: Sun, 2 Mar 2025 14:13:33 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: "David S. Miller" <davem@...emloft.net>,
Chen Ridong <chenridong@...wei.com>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH] crypto: bcm - set memory to zero only once
On Wed, Feb 19, 2025 at 12:12:53PM +0100, Thorsten Blum wrote:
> Use kmalloc_array() instead of kcalloc() because sg_init_table() already
> sets the memory to zero. This avoids zeroing the memory twice.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---
> drivers/crypto/bcm/cipher.c | 24 ++++++++++++------------
> 1 file changed, 12 insertions(+), 12 deletions(-)
This patch has already been applied. Please check whether there
is any discrepancy between the applied version and this resend.
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