Daniel Martin
d5379b350f
Use ARRAY_SIZE all over the tree
...
Roundhouse kick replacing the various (sizeof(foo)/sizeof(foo[0])) with
the ARRAY_SIZE macro from dix.h when possible. A semantic patch for
coccinelle has been used first. Additionally, a few macros have been
inlined as they had only one or two users.
Signed-off-by: Daniel Martin <consume.noise@gmail.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
2017-10-30 13:45:20 -04:00
..
2012-07-09 23:06:41 -07:00
2017-03-27 15:59:47 -04:00
2017-03-27 15:59:47 -04:00
2017-10-30 13:45:20 -04:00
2012-07-09 23:06:41 -07:00
2015-07-08 16:40:58 -04:00
2015-04-21 16:57:08 -07:00
2014-01-12 10:24:11 -08:00
2017-03-27 15:59:42 -04:00
2017-04-26 15:25:27 -07:00
2017-10-10 23:33:34 +02:00
2014-11-12 10:25:00 +10:00
2012-03-21 13:54:42 -07:00
2017-03-15 16:16:36 -04:00
2014-01-12 10:24:11 -08:00
2017-03-01 10:16:20 -05:00
2017-10-30 13:45:20 -04:00
2017-03-01 10:16:20 -05:00
2012-03-21 13:54:42 -07:00
2017-03-01 10:16:20 -05:00
2017-10-12 15:51:36 -04:00
2013-11-14 10:22:15 +09:00
2016-07-18 15:27:51 -04:00
2014-01-12 10:24:11 -08:00
2017-09-27 11:06:09 -04:00
2012-03-21 13:54:42 -07:00
2017-09-20 13:19:27 -04:00
2017-10-10 23:33:44 +02:00
2016-09-28 15:25:07 -04:00
2016-06-10 13:26:19 -04:00
2014-01-12 10:24:11 -08:00
2017-03-01 10:16:20 -05:00
2017-05-11 15:24:01 -04:00
2012-07-09 23:06:41 -07:00
2017-10-10 23:33:34 +02:00
2017-06-20 16:37:24 -04:00
2015-12-01 13:55:56 -05:00
2015-04-21 16:57:08 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2017-03-01 10:16:20 -05:00
2017-10-10 23:33:34 +02:00
2007-12-02 14:15:36 -05:00
2014-11-12 10:25:00 +10:00
2017-03-01 10:16:20 -05:00
2017-03-01 10:16:20 -05:00
2014-01-12 10:24:11 -08:00