Re: [PATCH] crypto: sun8i-ce: rename kfree() to kfree_sensitive()

2021-03-01 Thread Christophe Leroy
Le 01/03/2021 à 11:30, Yang Li a écrit : Rename kfree() to kfree_sensitive() to make the intention of the API more explicit. As far as I understand, you are not renaming kfree() to kfree_sensitive(). You are making a change to use kfree_sensitive() instead of using kfree(). Christophe

Re: [PATCH] crypto: sun8i-ce: rename kfree() to kfree_sensitive()

2021-03-01 Thread Herbert Xu
On Mon, Mar 01, 2021 at 06:30:41PM +0800, Yang Li wrote: > Rename kfree() to kfree_sensitive() to make the intention of the API > more explicit. > > fixed the following coccicheck: > ./drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c:30:16-17: WARNING > opportunity for

[PATCH] crypto: sun8i-ce: rename kfree() to kfree_sensitive()

2021-03-01 Thread Yang Li
Rename kfree() to kfree_sensitive() to make the intention of the API more explicit. fixed the following coccicheck: ./drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c:30:16-17: WARNING opportunity for kfree_sensitive/kvfree_sensitive (memset at line 29)