The patch titled
dio: ARRAY_SIZE() cleanup
has been added to the -mm tree. Its filename is
dio-array_size-cleanup.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: dio: ARRAY_SIZE() cleanup
From: Alejandro Martinez Ruiz <[EMAIL PROTECTED]>
Signed-off-by: Alejandro Martinez Ruiz <[EMAIL PROTECTED]>
Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]>
Cc: Roman Zippel <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/dio/dio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/dio/dio.c~dio-array_size-cleanup drivers/dio/dio.c
--- a/drivers/dio/dio.c~dio-array_size-cleanup
+++ a/drivers/dio/dio.c
@@ -88,7 +88,7 @@ static struct dioname names[] =
#undef DIONAME
#undef DIOFBNAME
-#define NUMNAMES (sizeof(names) / sizeof(struct dioname))
+#define NUMNAMES ARRAY_SIZE(names)
static const char *unknowndioname
= "unknown DIO board -- please email <[EMAIL PROTECTED]>!";
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
git-arm.patch
git-mips.patch
git-netdev-all.patch
m68k-array_size-cleanup.patch
dio-array_size-cleanup.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html