Re: [PATCH] use size_t for the broken ioctl numbers
From: Linus Torvalds
Date: Sun Sep 07 2003 - 18:16:31 EST
On Sun, 7 Sep 2003, Arnd Bergmann wrote:
>
> How about changing (sizeof(x)) to (sizeof(x[1]))?
> It will result in "parse error before `['" when x is not
> a type or an array type.
That sounds like a clever thing to do. Have you tested it with a full
configuration?
Linus
-
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/