[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <91117BEC-B6FC-4FC7-9073-10FAAC13E2FF@linux.dev>
Date: Sun, 2 Mar 2025 12:40:17 +0100
From: Thorsten Blum <thorsten.blum@...ux.dev>
To: Herbert Xu <herbert@...dor.apana.org.au>
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 2. Mar 2025, at 07:13, Herbert Xu wrote:
> 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.
My bad, I must have missed it in -next. The patches are identical.
Thanks,
Thorsten
Powered by blists - more mailing lists