diff options
author | Joe Perches <[email protected]> | 2015-02-13 14:38:18 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-02-13 21:21:39 -0800 |
commit | 62ec818f55ccc3e1a04a6634f8e541596778af5d (patch) | |
tree | be3c61cd325d694c8a3d3e5b8d1d2f28199aa9c4 /lib/mpi/mpiutil.c | |
parent | 46385326cc1577587ed3e7432c2425cf6d3e4308 (diff) |
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 <[email protected]>
Original-patch-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions