coccinelle: api: rename kzfree to kfree_sensitive

Commit 453431a549 ("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>
This commit is contained in:
Weizhao Ouyang 2021-08-05 17:58:23 +08:00 committed by Julia Lawall
parent 251a152429
commit 9eec079202
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ position p : script:python() { relevant(p) };
} else {
... when != krealloc(E, ...)
when any
* \(kfree\|kzfree\)(E)
* \(kfree\|kfree_sensitive\)(E)
...
}