HCoop
/
bpt
/
coccinelle.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Coccinelle release 0.2.5-rc8
[bpt/coccinelle.git]
/
tests
/
ktype.cocci
Commit
Line
Data
34e49164
C
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)
708f4980
10
+ x = kzalloc(sizeof(T1), E2)
34e49164
C
11
...
12
- memset(x,0,sizeof(*y));