Re: [PATCH 3/3] checkpatch: Emit a warning when decimal values areused

From: Pavel Machek
Date: Wed Oct 31 2012 - 06:37:00 EST


Hi!

> Linux kernel doesn't like decimals, say so.

?!

Linux surely supports decimal constants, like "100". Did you mean
"octal"?

If you wanted to add warning for something... I never want to see

#define CRAPPY_EMBEDDED_REGISTER ((0x1) << (0))

again....
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/