The patch titled sound/mips/au1x00: Use ARRAY_SIZE macro has been added to the -mm tree. Its filename is sound-mips-au1x00-use-array_size-macro.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: sound/mips/au1x00: Use ARRAY_SIZE macro From: Tobias Klauser <tklauser@xxxxxxxxxxxxxxxxxxx> Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- sound/mips/au1x00.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN sound/mips/au1x00.c~sound-mips-au1x00-use-array_size-macro sound/mips/au1x00.c --- a/sound/mips/au1x00.c~sound-mips-au1x00-use-array_size-macro +++ a/sound/mips/au1x00.c @@ -258,7 +258,7 @@ au1000_dma_interrupt(int irq, void *dev_ static unsigned int rates[] = {8000, 11025, 16000, 22050}; static struct snd_pcm_hw_constraint_list hw_constraints_rates = { - .count = sizeof(rates) / sizeof(rates[0]), + .count = ARRAY_SIZE(rates), .list = rates, .mask = 0, }; _ Patches currently in -mm which might be from tklauser@xxxxxxxxxxxxxxxxxxx are sound-mips-au1x00-use-array_size-macro.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html