summaryrefslogtreecommitdiffstats
path: root/lib/asn1_decoder.c
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-06-29 09:16:04 +0200
committerMichal Marek <mmarek@suse.cz>2014-08-06 12:10:17 +0200
commit7ab04ea0e32cf8cabcbc33cefac36e5f9258734e (patch)
tree82f41c8e314b54af5e994463fdf7d00008457c4e /lib/asn1_decoder.c
parentCoccinelle: Script to detect cast after memory allocation (diff)
downloadlinux-7ab04ea0e32cf8cabcbc33cefac36e5f9258734e.tar.xz
linux-7ab04ea0e32cf8cabcbc33cefac36e5f9258734e.zip
Coccinelle: Script to use ARRAY_SIZE instead of division of two sizeofs
This script detects cases where ARRAY_SIZE can be used such as where there is a division of sizeof the array by the sizeof its first element or by any indexed element or the element type. It replaces the division of the two sizeofs by ARRAY_SIZE. 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/asn1_decoder.c')
0 files changed, 0 insertions, 0 deletions