diff options
author | Weizhao Ouyang <o451686892@gmail.com> | 2021-08-05 17:58:23 +0800 |
---|---|---|
committer | Julia Lawall <Julia.Lawall@inria.fr> | 2021-08-05 13:01:09 +0200 |
commit | 9eec0792024983276871baeb201609abb07dd35d (patch) | |
tree | bae64f652365a9911f3d91c82b09c7fb4bbe68d1 | |
parent | 251a1524293d0a90c4d5060f65f42a3016280049 (diff) | |
download | linux-9eec0792024983276871baeb201609abb07dd35d.tar.gz linux-9eec0792024983276871baeb201609abb07dd35d.tar.bz2 linux-9eec0792024983276871baeb201609abb07dd35d.zip |
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>
-rw-r--r-- | scripts/coccinelle/api/kvmalloc.cocci | 2 |
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) ... } |