aboutsummaryrefslogtreecommitdiffstats
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
commit31a61bfc6e415fbd871317cbee7b8a4158d8ac5b (patch)
tree45dcda574c4af4b2fd8531d46d165ca47f00e832 /crypto/ansi_cprng.c
parent0426c166424ea6d3d0412f47879c8ba268f874c4 (diff)
downloadkernel_samsung_tuna-31a61bfc6e415fbd871317cbee7b8a4158d8ac5b.zip
kernel_samsung_tuna-31a61bfc6e415fbd871317cbee7b8a4158d8ac5b.tar.gz
kernel_samsung_tuna-31a61bfc6e415fbd871317cbee7b8a4158d8ac5b.tar.bz2
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