Re: [PATCH] Misuse of sizeof

From: Frédéric Weisbecker
Date: Sat Dec 13 2008 - 11:43:52 EST


2008/12/13 Giangiacomo Mariotti <giangiacomo.mariotti@xxxxxxxxx>:
> IMO there's a bug in the use of sizeof in /arch/x86/boot/main.c, it's
> also a strange style.
>

Hi,

No this is not a bug, sizeof is a unary operator which can be used
with or without parenthesis :-)

Note: don't forget to put your Signed-off-by and some explanations
along your patches.
Also, not all maintainers accept patches as attachment.
--
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/