summaryrefslogtreecommitdiff
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2008-11-13 16:19:04 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2008-12-25 03:01:45 +0300
commit31a61bfc6e415fbd871317cbee7b8a4158d8ac5b (patch)
tree45dcda574c4af4b2fd8531d46d165ca47f00e832 /crypto/ansi_cprng.c
parent0426c166424ea6d3d0412f47879c8ba268f874c4 (diff)
downloadlinux-31a61bfc6e415fbd871317cbee7b8a4158d8ac5b.tar.xz
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