Re: [PATCH] crypto: jitter - Use kvfree_sensitive() to fix Coccinelle warning
From: Herbert Xu
Date: Fri Apr 05 2024 - 03:52:35 EST
On Wed, Mar 27, 2024 at 11:25:09PM +0100, Thorsten Blum wrote:
> Replace memzero_explicit() and kvfree() with kvfree_sensitive() to fix
> the following Coccinelle/coccicheck warning reported by
> kfree_sensitive.cocci:
>
> WARNING opportunity for kfree_sensitive/kvfree_sensitive
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>
> ---
> crypto/jitterentropy-kcapi.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt