From: Joe Perches Date: Fri, 13 Feb 2015 22:38:18 +0000 (-0800) Subject: checkpatch: emit an error when using predefined timestamp macros X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~91^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62ec818f55ccc3e1a04a6634f8e541596778af5d;p=pandora-kernel.git checkpatch: emit an error when using predefined timestamp macros Since commit fe7c36c7bde1 ("Makefile: Build with -Werror=date-time if the compiler supports it"), use of __DATE__, __TIME__, and __TIMESTAMP__ has not been allowed. As this test is gcc version specific (> 4.9), it hasn't prevented a few new uses from creeping into the kernel sources. Make checkpatch complain about them. Signed-off-by: Joe Perches Original-patch-by: Rasmus Villemoes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed