From: Thorsten Blum <thorsten.blum@linux.dev>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>,
"Chen Ridong" <chenridong@huawei.com>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RESEND PATCH] crypto: bcm - set memory to zero only once
Date: Sun, 2 Mar 2025 12:40:17 +0100 [thread overview]
Message-ID: <91117BEC-B6FC-4FC7-9073-10FAAC13E2FF@linux.dev> (raw)
In-Reply-To: <Z8P3DdA9d4nqTJVv@gondor.apana.org.au>
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@linux.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
prev parent reply other threads:[~2025-03-02 11:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-19 11:12 Thorsten Blum
2025-03-02 6:13 ` Herbert Xu
2025-03-02 11:40 ` Thorsten Blum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91117BEC-B6FC-4FC7-9073-10FAAC13E2FF@linux.dev \
--to=thorsten.blum@linux.dev \
--cc=chenridong@huawei.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=u.kleine-koenig@baylibre.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®