Skip to content

Commit 9eec079

Browse files
owniaJuliaLawall
authored andcommitted
coccinelle: api: rename kzfree to kfree_sensitive
Commit 453431a ("mm, treewide: rename kzfree() to kfree_sensitive()") renamed kzfree() to kfree_sensitive(), it should be applied to coccinelle. Signed-off-by: Weizhao Ouyang <[email protected]> Signed-off-by: Julia Lawall <[email protected]> Acked-by: Denis Efremov <[email protected]>
1 parent 251a152 commit 9eec079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/coccinelle/api/kvmalloc.cocci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ position p : script:python() { relevant(p) };
7979
} else {
8080
... when != krealloc(E, ...)
8181
when any
82-
* \(kfree\|kzfree\)(E)
82+
* \(kfree\|kfree_sensitive\)(E)
8383
...
8484
}
8585

0 commit comments

Comments
 (0)