Himangi Saraogi
7ab04ea0e3
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>
2014-08-06 12:10:17 +02:00
..
2014-06-10 14:00:53 +02:00
2014-08-06 12:10:17 +02:00
2014-06-10 00:04:06 +02:00
2014-04-03 16:20:52 -07:00
2014-06-12 21:29:20 -07:00
2014-06-12 21:29:20 -07:00
2014-06-12 21:29:20 -07:00
2014-06-10 00:04:06 +02:00
2014-06-10 00:04:06 +02:00
2014-01-17 01:47:26 +01:00
2013-09-25 17:17:01 +01:00
2013-11-07 10:47:13 +01:00
2014-04-08 17:15:15 +02:00
2013-08-28 17:00:47 +02:00
2014-06-04 16:54:20 -07:00
2014-06-10 00:04:06 +02:00
2014-05-20 10:59:38 +02:00
2014-06-10 00:04:06 +02:00
2014-04-30 17:34:32 +02:00
2014-06-10 15:29:43 -07:00
2013-09-01 21:24:51 +02:00
2014-06-10 14:00:53 +02:00
2014-01-08 15:21:29 +00:00
2014-02-13 20:25:02 -08:00
2014-03-04 07:55:48 -08:00
2014-02-10 16:01:40 -08:00
2014-01-23 16:36:55 -08:00
2014-06-10 00:04:06 +02:00
2014-06-10 14:00:53 +02:00
2014-04-07 17:52:31 -07:00
2013-11-15 14:09:15 -08:00
2014-02-13 20:25:00 -08:00
2014-03-17 14:55:27 +10:30
2014-06-09 23:24:59 +02:00
2014-06-10 00:04:06 +02:00
2014-04-30 17:34:32 +02:00
2014-04-16 23:28:41 +02:00
2014-05-14 22:43:04 +02:00
2014-06-12 21:29:20 -07:00
2014-04-30 17:34:32 +02:00
2013-09-23 15:45:03 +09:30
2014-06-10 00:04:06 +02:00
2014-04-30 17:34:32 +02:00
2014-04-30 16:45:16 +02:00
2014-06-10 00:04:06 +02:00
2014-06-10 14:59:33 +02:00
2014-04-30 17:34:32 +02:00
2014-06-10 00:04:06 +02:00
2014-06-12 21:29:20 -07:00
2014-05-29 09:04:31 +01:00
2014-01-03 14:48:42 +01:00
2014-06-10 00:04:06 +02:00
2014-04-02 01:35:50 +04:00
2013-11-13 12:09:00 +09:00
2014-06-10 14:00:53 +02:00