The patch titled sound/pci/fm801: Use ARRAY_SIZE macro has been added to the -mm tree. Its filename is sound-pci-fm801-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/pci/fm801: Use ARRAY_SIZE macro From: Tobias Klauser <tklauser@xxxxxxxxxx> Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- sound/pci/fm801.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN sound/pci/fm801.c~sound-pci-fm801-use-array_size-macro sound/pci/fm801.c --- a/sound/pci/fm801.c~sound-pci-fm801-use-array_size-macro +++ a/sound/pci/fm801.c @@ -321,10 +321,8 @@ static unsigned int channels[] = { 2, 4, 6 }; -#define CHANNELS sizeof(channels) / sizeof(channels[0]) - static struct snd_pcm_hw_constraint_list hw_constraints_channels = { - .count = CHANNELS, + .count = ARRAY_SIZE(channels), .list = channels, .mask = 0, }; _ Patches currently in -mm which might be from tklauser@xxxxxxxxxx are sound-pci-fm801-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