[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zj3nfBKPrvHuWMwl@gondor.apana.org.au>
Date: Fri, 10 May 2024 17:23:08 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Thorsten Blum <thorsten.blum@...lux.com>
Cc: Tom Zanussi <tom.zanussi@...ux.intel.com>,
"David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: iaa - Use kmemdup() instead of kzalloc() and
memcpy()
On Thu, May 02, 2024 at 05:33:39PM +0200, Thorsten Blum wrote:
> Fixes the following two Coccinelle/coccicheck warnings reported by
> memdup.cocci:
>
> iaa_crypto_main.c:350:19-26: WARNING opportunity for kmemdup
> iaa_crypto_main.c:358:18-25: WARNING opportunity for kmemdup
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...lux.com>
> ---
> drivers/crypto/intel/iaa/iaa_crypto_main.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 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