+ dio-array_size-cleanup.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <alex@xxxxxxxxxxxxxx>

Signed-off-by: Alejandro Martinez Ruiz <alex@xxxxxxxxxxxxxx>
Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Cc: Roman Zippel <zippel@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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 <linux-m68k@xxxxxxxxxxxxxxxxxxxx>!";
_

Patches currently in -mm which might be from alex@xxxxxxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux