☰
Debian Codegraph
@
1.3.0.deb-1
/
/
demos
/
janitorings
/
kzalloc-fix.cocci
☽
☼
demos/janitorings/kzalloc-fix.cocci
code
plain
raw
1
// iso X * Y will handle the variations
2
3
@@
4
expression E;
5
constant c;
6
type T;
7
@@
8
9
- kzalloc(sizeof(T) * c, E)
10
+ kcalloc(c, sizeof(T), E)