mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
fd568fc3fe
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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
core.c | ||
core.h | ||
dsp_audio.c | ||
dsp_biquad.h | ||
dsp_blowfish.c | ||
dsp_cmx.c | ||
dsp_core.c | ||
dsp_dtmf.c | ||
dsp_ecdis.h | ||
dsp_hwec.c | ||
dsp_hwec.h | ||
dsp_pipeline.c | ||
dsp_tones.c | ||
dsp.h | ||
fsm.c | ||
fsm.h | ||
hwchannel.c | ||
Kconfig | ||
l1oip_codec.c | ||
l1oip_core.c | ||
l1oip.h | ||
layer1.c | ||
layer1.h | ||
layer2.c | ||
layer2.h | ||
Makefile | ||
socket.c | ||
stack.c | ||
tei.c | ||
timerdev.c |