From: Weizhao Ouyang <o451686892@gmail.com>
To: Julia.Lawall@inria.fr, Gilles.Muller@inria.fr,
nicolas.palix@imag.fr, michal.lkml@markovi.net,
o451686892@gmail.com, efremov@linux.com
Cc: cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org
Subject: [RESEND] coccinelle: api: rename kzfree to kfree_sensitive
Date: Thu, 5 Aug 2021 17:58:23 +0800 [thread overview]
Message-ID: <20210805095822.1732125-1-o451686892@gmail.com> (raw)
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>
---
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)
...
}
--
2.30.2
next reply other threads:[~2021-08-05 9:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-05 9:58 Weizhao Ouyang [this message]
2021-08-05 10:07 ` [RESEND] coccinelle: api: rename kzfree to kfree_sensitive Denis Efremov
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=20210805095822.1732125-1-o451686892@gmail.com \
--to=o451686892@gmail.com \
--cc=Gilles.Muller@inria.fr \
--cc=Julia.Lawall@inria.fr \
--cc=cocci@systeme.lip6.fr \
--cc=efremov@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.lkml@markovi.net \
--cc=nicolas.palix@imag.fr \
/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;
as well as URLs for NNTP newsgroup(s).