HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.1.1
[bpt/coccinelle.git]
/
tests
/
ktype.cocci
1
@@
2
type T, T2;
3
type T1;
4
T1 *x;
5
T1 *y;
6
expression E2;
7
@@
8
9
- x = kmalloc(sizeof(T1),E2)
10
+ x = kzalloc(sizeof(T1),E2)
11
...
12
- memset(x,0,sizeof(*y));