Re: [PATCH v2] crypto: sun8i-ss - remove redundant memzero_explicit()
From: Herbert Xu
Date: Fri Sep 04 2020 - 04:28:35 EST
On Thu, Aug 27, 2020 at 03:16:11PM +0300, Denis Efremov wrote:
> Remove redundant memzero_explicit() in sun8i_ss_cipher() before calling
> kfree_sensitive(). kfree_sensitive() will zero the memory with
> memzero_explicit().
>
> Fixes: 453431a54934 ("mm, treewide: rename kzfree() to kfree_sensitive()")
> Signed-off-by: Denis Efremov <efremov@xxxxxxxxx>
> ---
> Changes in v2:
> - fixes tag added
>
> drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 1 -
> 1 file changed, 1 deletion(-)
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