Re: [patch 02/13] dio: ARRAY_SIZE() cleanup

From: Richard Knutsson
Date: Tue Nov 20 2007 - 16:57:37 EST


Geert Uytterhoeven wrote:

-#define NUMNAMES (sizeof(names) / sizeof(struct dioname))
+#define NUMNAMES ARRAY_SIZE(names)

Why not replace NUMNAMES?

/Richard Knutsson


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/