Re: [PATCH] Misuse of sizeof
From: Miguel Ojeda
Date: Sat Dec 13 2008 - 11:45:20 EST
On Sat, Dec 13, 2008 at 5:31 PM, Giangiacomo Mariotti
<giangiacomo.mariotti@xxxxxxxxx> wrote:
> IMO there's a bug in the use of sizeof in /arch/x86/boot/main.c, it's
> also a strange style.
>
It is not a bug. You don't need to use parenthesis when used on
variables. See 6.5.3.4.
--
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/