summaryrefslogtreecommitdiff
path: root/lib/inflate.c
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-06-14 15:45:41 (GMT)
committerMichal Marek <mmarek@suse.cz>2014-08-06 10:10:17 (GMT)
commit99fcec30e882ec214b689889b3599cf98f5c9843 (patch)
treec267bff61b2ea6dccde7685f52d8fed4f4cd1074 /lib/inflate.c
parentb5889ab7d4e6ff194ff1ef8ad2eb9266a23e376b (diff)
downloadlinux-99fcec30e882ec214b689889b3599cf98f5c9843.tar.xz
Coccinelle: Script to detect cast after memory allocation
This script detects cases of use of cast for the value returned by kmalloc, kzalloc, kcalloc, kmem_cache_alloc, kmem_cache_zalloc, kmem_cache_alloc_node, kmalloc_node and kzalloc_node and removes the cast as it is not useful. This Coccinelle script replaces drop_kmalloc_cast.cocci as it removes the casting in more limited cases of kmalloc, kzalloc and kcalloc. Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'lib/inflate.c')
0 files changed, 0 insertions, 0 deletions