Re: [PATCH] Misuse of sizeof

From: Roland Dreier
Date: Sat Dec 13 2008 - 11:59:21 EST


> IMO there's a bug in the use of sizeof in /arch/x86/boot/main.c, it's
> also a strange style.

Style is of course a matter of opinion, but sizeof is an operator, not a
function, and as far as I can see, there's no bug in how it is used even
without your patch.

- R.
--
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/