summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorWeizhao Ouyang <o451686892@gmail.com>2021-08-05 17:58:23 +0800
committerJulia Lawall <Julia.Lawall@inria.fr>2021-08-05 13:01:09 +0200
commit9eec0792024983276871baeb201609abb07dd35d (patch)
treebae64f652365a9911f3d91c82b09c7fb4bbe68d1 /scripts/coccinelle
parent251a1524293d0a90c4d5060f65f42a3016280049 (diff)
coccinelle: api: rename kzfree to kfree_sensitive
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> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Acked-by: Denis Efremov <efremov@linux.com>
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r--scripts/coccinelle/api/kvmalloc.cocci2
1 files changed, 1 insertions, 1 deletions
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)
...
}