From: Julia Lawall Date: Thu, 13 Nov 2008 13:19:04 +0000 (+0800) Subject: crypto: md4 - Use ARRAY_SIZE X-Git-Tag: v2.6.29-rc1~589^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31a61bfc6e415fbd871317cbee7b8a4158d8ac5b;p=pandora-kernel.git 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/) // @i@ @@ #include @depends on i using "paren.iso"@ type T; T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) // Signed-off-by: Julia Lawall Signed-off-by: Herbert Xu --- Reading git-diff-tree failed