projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
251a152
)
coccinelle: api: rename kzfree to kfree_sensitive
author
Weizhao Ouyang
<o451686892@gmail.com>
Thu, 5 Aug 2021 09:58:23 +0000
(17:58 +0800)
committer
Julia Lawall
<Julia.Lawall@inria.fr>
Thu, 5 Aug 2021 11:01:09 +0000
(13:01 +0200)
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>
scripts/coccinelle/api/kvmalloc.cocci
patch
|
blob
|
history
diff --git
a/scripts/coccinelle/api/kvmalloc.cocci
b/scripts/coccinelle/api/kvmalloc.cocci
index
c30dab7
..
5ddcb76
100644
(file)
--- 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\|k
zfre
e\)(E)
+* \(kfree\|k
free_sensitiv
e\)(E)
...
}