summaryrefslogtreecommitdiffstats
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorJulia Lawall2008-11-13 14:19:04 +0100
committerHerbert Xu2008-12-25 01:01:45 +0100
commit31a61bfc6e415fbd871317cbee7b8a4158d8ac5b (patch)
tree45dcda574c4af4b2fd8531d46d165ca47f00e832 /crypto/ansi_cprng.c
parentlibcrc32c: Add crc32c_le macro (diff)
downloadkernel-qcow2-linux-31a61bfc6e415fbd871317cbee7b8a4158d8ac5b.tar.gz
kernel-qcow2-linux-31a61bfc6e415fbd871317cbee7b8a4158d8ac5b.tar.xz
kernel-qcow2-linux-31a61bfc6e415fbd871317cbee7b8a4158d8ac5b.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