[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.22.394.2108051301170.8365@hadrien>
Date: Thu, 5 Aug 2021 13:01:23 +0200 (CEST)
From: Julia Lawall <julia.lawall@...ia.fr>
To: Denis Efremov <efremov@...ux.com>
cc: Weizhao Ouyang <o451686892@...il.com>, Julia.Lawall@...ia.fr,
Gilles.Muller@...ia.fr, nicolas.palix@...g.fr,
michal.lkml@...kovi.net, cocci@...teme.lip6.fr,
linux-kernel@...r.kernel.org
Subject: Re: [RESEND] coccinelle: api: rename kzfree to kfree_sensitive
On Thu, 5 Aug 2021, Denis Efremov wrote:
> Hi,
>
> On 8/5/21 12:58 PM, Weizhao Ouyang wrote:
> > Commit 453431a54934 ("mm, treewide: rename kzfree() to
> > kfree_sensitive()") renamed kzfree() to kfree_sensitive(),
> > it should be applied to coccinelle.
> >
> > Signed-off-by: Weizhao Ouyang <o451686892@...il.com>
>
> Acked-by: Denis Efremov <efremov@...ux.com>
Thanks.
>
> > ---
> > scripts/coccinelle/api/kvmalloc.cocci | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/scripts/coccinelle/api/kvmalloc.cocci b/scripts/coccinelle/api/kvmalloc.cocci
> > index c30dab718a49..5ddcb76b76b0 100644
> > --- a/scripts/coccinelle/api/kvmalloc.cocci
> > +++ b/scripts/coccinelle/api/kvmalloc.cocci
> > @@ -79,7 +79,7 @@ position p : script:python() { relevant(p) };
> > } else {
> > ... when != krealloc(E, ...)
> > when any
> > -* \(kfree\|kzfree\)(E)
> > +* \(kfree\|kfree_sensitive\)(E)
> > ...
> > }
> >
> >
>
> Regards,
> Denis
>
Powered by blists - more mailing lists