Skip to content

Eliminate uses of __DATE__ and __TIME__

Josh Triplett linux-kbuild linux-mtd linux-wireless lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mtd: denali: Drop print of build date/timedrivers/mtd/nand/denali_pci.c+0 -12 replies
2/7net: wireless: brcm80211: Drop debug version with build date/timedrivers/net/wireless/brcm80211/brcmfmac/dhd_common.c+0 -70 replies
3/7staging: rtl8188eu: Drop print of build date/timedrivers/staging/rtl8188eu/os_dep/usb_intf.c+0 -11 reply
4/7staging: rts5139: Drop print of build timedrivers/staging/rts5139/rts51x_scsi.c+0 -10 replies
5/7staging: wlags49_h2: Drop debug macro recording build date/timedrivers/staging/wlags49_h2/wl_version.h+0 -40 replies
6/7x86: math-emu: Drop already-disabled print of build datearch/x86/math-emu/errors.c+0 -50 replies
7/7Makefile: Build with -Werror=date-time if the compiler supports itMakefile+3 -08 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchLarry FingerJingoo HanMichal Marek
1/7R-b
2/7
3/7A-b
4/7
5/7
6/7
7/7A-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
1.8.5.2