2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00
linux-next/scripts/coccinelle/alloc
Nicolas Palix cf5842de75 Add scripts/coccinelle/alloc/kzalloc-simple.cocci
This semantic patch replaces a pair of calls to kmalloc and memset
by a single call to kzalloc.

It only looks for simple cases to avoid false positives.

Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-06-12 00:00:29 +02:00
..
drop_kmalloc_cast.cocci Add scripts/coccinelle/alloc/drop_kmalloc_cast.cocci 2010-06-12 00:00:29 +02:00
kzalloc-simple.cocci Add scripts/coccinelle/alloc/kzalloc-simple.cocci 2010-06-12 00:00:29 +02:00