[PATCH 0/7] Eliminate uses of __DATE__ and __TIME__

Josh Triplett josh at joshtriplett.org
Mon Dec 23 16:54:26 EST 2013


Using the __DATE__ and __TIME macros makes the kernel build non-deterministic.
The kernel already optionally records this information at build time, so random
kernel code shouldn't duplicate that.  Eliminate all uses of __DATE__ and
__TIME__, and then turn on a new GCC warning if available to make sure no new
uses get added.

Josh Triplett (7):
  mtd: denali: Drop print of build date/time
  net: wireless: brcm80211: Drop debug version with build date/time
  staging: rtl8188eu: Drop print of build date/time
  staging: rts5139: Drop print of build time
  staging: wlags49_h2: Drop debug macro recording build date/time
  x86: math-emu: Drop already-disabled print of build date
  Makefile: Build with -Werror=date-time if the compiler supports it

 Makefile                                             | 3 +++
 arch/x86/math-emu/errors.c                           | 5 -----
 drivers/mtd/nand/denali_pci.c                        | 1 -
 drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c | 7 -------
 drivers/staging/rtl8188eu/os_dep/usb_intf.c          | 1 -
 drivers/staging/rts5139/rts51x_scsi.c                | 1 -
 drivers/staging/wlags49_h2/wl_version.h              | 4 ----
 7 files changed, 3 insertions(+), 19 deletions(-)

-- 
1.8.5.2




More information about the linux-mtd mailing list