Release coccinelle-0.1.1
[bpt/coccinelle.git] / tests / kmalloc.cocci
CommitLineData
34e49164
C
1@@
2expression x;
3expression E1,E2;
4type T;
5@@
6
7 x =
8- (T)kmalloc(E1,E2)
9+ kzalloc(E1,E2)
10 ...
11- memset(x,0,E1);