summaryrefslogtreecommitdiff
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2008-11-13 21:19:04 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-12-25 11:01:45 +1100
commit28b074c61962b75aece4bdb4635f4bb327c2a1e2 (patch)
treef956f181912cbe2569aca9f8dfa0f7e018d48a87 /crypto/ansi_cprng.c
parentd44fee5d33a9b96249f1f473b50f0de7fa37eaa4 (diff)
downloadlinux-crypto-28b074c61962b75aece4bdb4635f4bb327c2a1e2.tar.gz
linux-crypto-28b074c61962b75aece4bdb4635f4bb327c2a1e2.zip
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>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions