From: Joe Perches Date: Wed, 3 Jul 2013 22:05:20 +0000 (-0700) Subject: checkpatch: warn when using gcc's binary constant ("0b") extension X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~236 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95e2c6023b0e4c8499fb521697f79215f69135fe;p=pandora-kernel.git checkpatch: warn when using gcc's binary constant ("0b") extension The gcc extension for binary constants that start with 0b is only supported with gcc version 4.3 or higher. The kernel can still be compiled with earlier versions of gcc, so have checkpatch emit a warning for these constants. Restructure checkpatch's constant finding code a bit to support finding these binary constants. Signed-off-by: Joe Perches Suggested-by: Andrew Morton Cc: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed