Re: [PATCH v3] s390/pkey: use kfree_sensitive() to fix Coccinelle warnings

Holger Dengler
2024-05-08T05:53:37Z

On 07/05/2024 23:13, Jules Irenge wrote:
> Replace memzero_explicit() and kfree() with kfree_sentive() to fix
> warnings reported by Coccinelle
>
> WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1506)
> WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1643)
> WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1770)
>
> Signed-off-by: Jules Irenge <jbi.octave@gmail.com>

Thanks, looks good to me.
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>

--
Mit freundlichen Grüßen / Kind regards
Holger Dengler
--
IBM Systems, Linux on IBM Z Development
dengler@linux.ibm.com