From: Denis Efremov <efremov@linux.com>
To: Weizhao Ouyang <o451686892@gmail.com>,
Julia.Lawall@inria.fr, Gilles.Muller@inria.fr,
nicolas.palix@imag.fr, michal.lkml@markovi.net
Cc: cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org
Subject: Re: [RESEND] coccinelle: api: rename kzfree to kfree_sensitive
Date: Thu, 5 Aug 2021 13:07:52 +0300 [thread overview]
Message-ID: <3cb9caa9-b7d3-5b1b-7020-63d72506c7c7@linux.com> (raw)
In-Reply-To: <20210805095822.1732125-1-o451686892@gmail.com>
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@gmail.com>
Acked-by: Denis Efremov <efremov@linux.com>
> ---
> 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
next prev parent reply other threads:[~2021-08-05 10:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-05 9:58 Weizhao Ouyang
2021-08-05 10:07 ` Denis Efremov [this message]
2021-08-05 11:01 ` Julia Lawall
2021-08-05 11:01 ` Julia Lawall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3cb9caa9-b7d3-5b1b-7020-63d72506c7c7@linux.com \
--to=efremov@linux.com \
--cc=Gilles.Muller@inria.fr \
--cc=Julia.Lawall@inria.fr \
--cc=cocci@systeme.lip6.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.lkml@markovi.net \
--cc=nicolas.palix@imag.fr \
--cc=o451686892@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®