Julia Lawall
31a61bfc6e
crypto: md4 - Use ARRAY_SIZE
...
ARRAY_SIZE is more concise to use when the size of an array is divided by
the size of its type or the size of its first element.
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/ )
// <smpl>
@i@
@@
#include <linux/kernel.h>
@depends on i using "paren.iso"@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-12-25 11:01:45 +11:00
..
2008-12-08 13:46:00 -07:00
2008-02-23 11:12:06 +08:00
2008-01-11 08:16:56 +11:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:01:33 +11:00
2008-08-29 15:49:57 +10:00
2008-08-29 15:49:58 +10:00
2008-12-25 11:01:21 +11:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:01:24 +11:00
2006-09-21 11:41:02 +10:00
2008-12-25 11:01:33 +11:00
2008-08-29 15:50:00 +10:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:01:15 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-02-07 08:42:26 -08:00
2008-01-11 08:16:53 +11:00
2008-08-29 15:50:06 +10:00
2007-10-10 16:55:40 -07:00
2007-11-02 08:47:06 +01:00
2008-12-25 11:01:40 +11:00
2008-07-10 20:35:18 +08:00
2008-04-21 10:19:34 +08:00
2008-01-11 08:16:48 +11:00
2008-06-02 15:46:51 +10:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-08-13 20:08:38 +10:00
2008-02-07 08:42:26 -08:00
2008-08-29 15:50:06 +10:00
2008-04-21 10:19:34 +08:00
2008-08-29 15:50:02 +10:00
2008-01-11 08:16:56 +11:00
2007-10-10 16:55:45 -07:00
2008-07-10 20:35:18 +08:00
2008-12-25 11:01:33 +11:00
2008-12-25 11:01:24 +11:00
2008-12-25 11:01:40 +11:00
2008-04-21 10:19:34 +08:00
2008-08-29 15:50:04 +10:00
2008-04-21 10:19:22 +08:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:01:26 +11:00
2008-12-25 11:01:45 +11:00
2008-04-21 10:19:34 +08:00
2007-04-28 11:01:01 -04:00
2008-02-07 08:42:26 -08:00
2008-12-25 11:01:32 +11:00
2008-07-10 20:35:12 +08:00
2008-07-10 20:35:17 +08:00
2008-07-10 20:35:17 +08:00
2008-07-10 20:35:17 +08:00
2008-07-10 20:35:17 +08:00
2008-08-29 15:50:04 +10:00
2008-04-21 10:19:34 +08:00
2008-01-11 08:16:54 +11:00
2007-10-10 16:55:38 -07:00
2008-08-29 15:50:06 +10:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:01:33 +11:00
2008-08-29 15:49:55 +10:00
2008-08-29 15:49:55 +10:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:01:38 +11:00
2008-08-29 15:49:55 +10:00
2008-04-21 10:19:34 +08:00
2008-01-11 08:16:06 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-02 14:36:09 +08:00
2007-07-13 08:06:14 -07:00
2008-03-06 18:56:19 +08:00