All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__
@ 2013-12-23 21:54 Josh Triplett
  2013-12-23 21:54 ` [PATCH 1/7] mtd: denali: Drop print of build date/time Josh Triplett
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Josh Triplett @ 2013-12-23 21:54 UTC (permalink / raw)
  To: Franky (Zhenhui) Lin, H. Peter Anvin, John W. Linville, Al Viro,
	Arend van Spriel, Bill Metzenthen, Brett Rudley, Brian Norris,
	David Woodhouse, Greg Kroah-Hartman, Hante Meuleman,
	Henk de Groot, Ingo Molnar, Jingoo Han, Larry Finger,
	Lisa Nguyen, Michal Marek, Pieter-Paul Giesberts, Piotr Haber,
	Shawn Guo, Thomas Gleixner, brcm80211-dev-list, devel,
	linux-kbuild, linux-kernel, linux-mtd, linux-wireless, netdev,
	x86

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH 1/7] mtd: denali: Drop print of build date/time
  2013-12-23 21:54 [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__ Josh Triplett
@ 2013-12-23 21:54 ` Josh Triplett
  2013-12-26  8:24     ` Jingoo Han
  2013-12-23 21:55 ` [PATCH 2/7] net: wireless: brcm80211: Drop debug version with " Josh Triplett
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 21+ messages in thread
From: Josh Triplett @ 2013-12-23 21:54 UTC (permalink / raw)
  To: David Woodhouse, Jingoo Han, Brian Norris, linux-mtd, linux-kernel

The kernel already has this information, and individual drivers
shouldn't duplicate that.  This also eliminates the use of __DATE__ and
__TIME__, which make the build non-deterministic.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
 drivers/mtd/nand/denali_pci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/denali_pci.c b/drivers/mtd/nand/denali_pci.c
index 033f177..ab64416 100644
--- a/drivers/mtd/nand/denali_pci.c
+++ b/drivers/mtd/nand/denali_pci.c
@@ -131,7 +131,6 @@ static struct pci_driver denali_pci_driver = {
 
 static int denali_init_pci(void)
 {
-	pr_info("Spectra MTD driver built on %s @ %s\n", __DATE__, __TIME__);
 	return pci_register_driver(&denali_pci_driver);
 }
 module_init(denali_init_pci);
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 2/7] net: wireless: brcm80211: Drop debug version with build date/time
  2013-12-23 21:54 [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__ Josh Triplett
  2013-12-23 21:54 ` [PATCH 1/7] mtd: denali: Drop print of build date/time Josh Triplett
@ 2013-12-23 21:55 ` Josh Triplett
  2013-12-23 21:55 ` [PATCH 3/7] staging: rtl8188eu: Drop print of " Josh Triplett
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 21+ messages in thread
From: Josh Triplett @ 2013-12-23 21:55 UTC (permalink / raw)
  To: Brett Rudley, Arend van Spriel, Franky (Zhenhui) Lin,
	Hante Meuleman, John W. Linville, Pieter-Paul Giesberts,
	linux-wireless, brcm80211-dev-list, netdev, linux-kernel

The kernel already has this information, and individual drivers
shouldn't duplicate that.  This also eliminates the use of __DATE__ and
__TIME__, which make the build non-deterministic.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
 drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
index 9431af2..78e2999b 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
@@ -32,15 +32,8 @@
 #define BRCMF_DEFAULT_SCAN_UNASSOC_TIME	40
 #define BRCMF_DEFAULT_PACKET_FILTER	"100 0 0 0 0x01 0x00"
 
-#ifdef DEBUG
-static const char brcmf_version[] =
-	"Dongle Host Driver, version " BRCMF_VERSION_STR "\nCompiled on "
-	__DATE__ " at " __TIME__;
-#else
 static const char brcmf_version[] =
 	"Dongle Host Driver, version " BRCMF_VERSION_STR;
-#endif
-
 
 bool brcmf_c_prec_enq(struct device *dev, struct pktq *q,
 		      struct sk_buff *pkt, int prec)
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 3/7] staging: rtl8188eu: Drop print of build date/time
  2013-12-23 21:54 [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__ Josh Triplett
  2013-12-23 21:54 ` [PATCH 1/7] mtd: denali: Drop print of build date/time Josh Triplett
  2013-12-23 21:55 ` [PATCH 2/7] net: wireless: brcm80211: Drop debug version with " Josh Triplett
@ 2013-12-23 21:55 ` Josh Triplett
  2013-12-24  1:15   ` Larry Finger
  2013-12-23 21:55 ` [PATCH 4/7] staging: rts5139: Drop print of build time Josh Triplett
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 21+ messages in thread
From: Josh Triplett @ 2013-12-23 21:55 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Larry Finger, devel, linux-kernel

The kernel already has this information, and individual drivers
shouldn't duplicate that.  This also eliminates the use of __DATE__ and
__TIME__, which make the build non-deterministic.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
 drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index 7d14779..d44f606 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
@@ -865,7 +865,6 @@ static int __init rtw_drv_entry(void)
 	RT_TRACE(_module_hci_intfs_c_, _drv_err_, ("+rtw_drv_entry\n"));
 
 	DBG_88E(DRV_NAME " driver version=%s\n", DRIVERVERSION);
-	DBG_88E("build time: %s %s\n", __DATE__, __TIME__);
 
 	rtw_suspend_lock_init();
 
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 4/7] staging: rts5139: Drop print of build time
  2013-12-23 21:54 [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__ Josh Triplett
                   ` (2 preceding siblings ...)
  2013-12-23 21:55 ` [PATCH 3/7] staging: rtl8188eu: Drop print of " Josh Triplett
@ 2013-12-23 21:55 ` Josh Triplett
  2013-12-23 21:55 ` [PATCH 5/7] staging: wlags49_h2: Drop debug macro recording build date/time Josh Triplett
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 21+ messages in thread
From: Josh Triplett @ 2013-12-23 21:55 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Al Viro, Lisa Nguyen, Archana kumari, devel,
	linux-kernel

The kernel already has this information, and individual drivers
shouldn't duplicate that.  This also eliminates the use of __TIME__,
which makes the build non-deterministic.  (And, without __DATE__,
__TIME__ provided little useful information to begin with.)

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
 drivers/staging/rts5139/rts51x_scsi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/rts5139/rts51x_scsi.c b/drivers/staging/rts5139/rts51x_scsi.c
index a474eed..3a99025 100644
--- a/drivers/staging/rts5139/rts51x_scsi.c
+++ b/drivers/staging/rts5139/rts51x_scsi.c
@@ -1985,7 +1985,6 @@ static int show_info(struct seq_file *m, struct Scsi_Host *host)
 	SPRINTF("       Vendor: Realtek Corp.\n");
 	SPRINTF("      Product: RTS51xx USB Card Reader\n");
 	SPRINTF("      Version: %s\n", DRIVER_VERSION);
-	SPRINTF("        Build: %s\n", __TIME__);
 	return 0;
 }
 
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 5/7] staging: wlags49_h2: Drop debug macro recording build date/time
  2013-12-23 21:54 [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__ Josh Triplett
                   ` (3 preceding siblings ...)
  2013-12-23 21:55 ` [PATCH 4/7] staging: rts5139: Drop print of build time Josh Triplett
@ 2013-12-23 21:55 ` Josh Triplett
  2013-12-23 21:55 ` [PATCH 6/7] x86: math-emu: Drop already-disabled print of build date Josh Triplett
  2013-12-23 21:56 ` [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it Josh Triplett
  6 siblings, 0 replies; 21+ messages in thread
From: Josh Triplett @ 2013-12-23 21:55 UTC (permalink / raw)
  To: Henk de Groot, Greg Kroah-Hartman, devel, linux-kernel

The kernel already has this information, and individual drivers
shouldn't duplicate that.  This also eliminates the use of __DATE__ and
__TIME__, which make the build non-deterministic.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
 drivers/staging/wlags49_h2/wl_version.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/wlags49_h2/wl_version.h b/drivers/staging/wlags49_h2/wl_version.h
index 037b526..019ebb2 100644
--- a/drivers/staging/wlags49_h2/wl_version.h
+++ b/drivers/staging/wlags49_h2/wl_version.h
@@ -129,11 +129,7 @@ err: define bus type;
 #endif  /* HERMES25 */
 #endif  /* BUS_XXX */
 
-#ifdef DBG
-#define MODULE_DATE         __DATE__ " " __TIME__
-#else
 #define MODULE_DATE         "07/18/2004 13:30:00"
-#endif // DBG
 
 //#define STR2(m) #m
 //#define STR1(m) STR2(m)
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 6/7] x86: math-emu: Drop already-disabled print of build date
  2013-12-23 21:54 [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__ Josh Triplett
                   ` (4 preceding siblings ...)
  2013-12-23 21:55 ` [PATCH 5/7] staging: wlags49_h2: Drop debug macro recording build date/time Josh Triplett
@ 2013-12-23 21:55 ` Josh Triplett
  2013-12-23 21:56 ` [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it Josh Triplett
  6 siblings, 0 replies; 21+ messages in thread
From: Josh Triplett @ 2013-12-23 21:55 UTC (permalink / raw)
  To: Bill Metzenthen, Thomas Gleixner, Ingo Molnar, H. Peter Anvin,
	x86, linux-kernel

The kernel already has this information, so other bits of kernel code
shouldn't duplicate that.  This also eliminates the use of __DATE__,
which makes the build non-deterministic.

This message was already disabled at build time, with PRINT_MESSAGES
undef'd at the top of the file.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
 arch/x86/math-emu/errors.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/x86/math-emu/errors.c b/arch/x86/math-emu/errors.c
index 59d353d..a544908 100644
--- a/arch/x86/math-emu/errors.c
+++ b/arch/x86/math-emu/errors.c
@@ -330,11 +330,6 @@ asmlinkage void FPU_exception(int n)
 
 	RE_ENTRANT_CHECK_OFF;
 	if ((~control_word & n & CW_Exceptions) || (n == EX_INTERNAL)) {
-#ifdef PRINT_MESSAGES
-		/* My message from the sponsor */
-		printk(FPU_VERSION " " __DATE__ " (C) W. Metzenthen.\n");
-#endif /* PRINT_MESSAGES */
-
 		/* Get a name string for error reporting */
 		for (i = 0; exception_names[i].type; i++)
 			if ((exception_names[i].type & n) ==
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2013-12-23 21:54 [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__ Josh Triplett
                   ` (5 preceding siblings ...)
  2013-12-23 21:55 ` [PATCH 6/7] x86: math-emu: Drop already-disabled print of build date Josh Triplett
@ 2013-12-23 21:56 ` Josh Triplett
  2014-01-03 16:40   ` Michal Marek
  6 siblings, 1 reply; 21+ messages in thread
From: Josh Triplett @ 2013-12-23 21:56 UTC (permalink / raw)
  To: Michal Marek, linux-kbuild, linux-kernel

GCC 4.9 and newer have a new warning -Wdate-time, which warns on any use
of __DATE__, __TIME__, or __TIMESTAMP__, which would make the build
non-deterministic.  Now that the kernel does not use any of those
macros, turn on -Werror=date-time if available, to keep it that way.

The kernel already (optionally) records this information at build time
in a single place; other kernel code should not duplicate that.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 14d592c..188eea7 100644
--- a/Makefile
+++ b/Makefile
@@ -668,6 +668,9 @@ KBUILD_CFLAGS   += $(call cc-option,-Werror=implicit-int)
 # require functions to have arguments in prototypes, not empty 'int foo()'
 KBUILD_CFLAGS   += $(call cc-option,-Werror=strict-prototypes)
 
+# Prohibit date/time macros, which would make the build non-deterministic
+KBUILD_CFLAGS   += $(call cc-option,-Werror=date-time)
+
 # use the deterministic mode of AR if available
 KBUILD_ARFLAGS := $(call ar-option,D)
 
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* Re: [PATCH 3/7] staging: rtl8188eu: Drop print of build date/time
  2013-12-23 21:55 ` [PATCH 3/7] staging: rtl8188eu: Drop print of " Josh Triplett
@ 2013-12-24  1:15   ` Larry Finger
  0 siblings, 0 replies; 21+ messages in thread
From: Larry Finger @ 2013-12-24  1:15 UTC (permalink / raw)
  To: Josh Triplett, Greg Kroah-Hartman, devel, linux-kernel

On 12/23/2013 03:55 PM, Josh Triplett wrote:
> The kernel already has this information, and individual drivers
> shouldn't duplicate that.  This also eliminates the use of __DATE__ and
> __TIME__, which make the build non-deterministic.
>
> Signed-off-by: Josh Triplett <josh@joshtriplett.org>
> ---
>   drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
> index 7d14779..d44f606 100644
> --- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
> +++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
> @@ -865,7 +865,6 @@ static int __init rtw_drv_entry(void)
>   	RT_TRACE(_module_hci_intfs_c_, _drv_err_, ("+rtw_drv_entry\n"));
>
>   	DBG_88E(DRV_NAME " driver version=%s\n", DRIVERVERSION);
> -	DBG_88E("build time: %s %s\n", __DATE__, __TIME__);
>
>   	rtw_suspend_lock_init();

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>

Larry

>
>


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/7] mtd: denali: Drop print of build date/time
  2013-12-23 21:54 ` [PATCH 1/7] mtd: denali: Drop print of build date/time Josh Triplett
@ 2013-12-26  8:24     ` Jingoo Han
  0 siblings, 0 replies; 21+ messages in thread
From: Jingoo Han @ 2013-12-26  8:24 UTC (permalink / raw)
  To: 'Josh Triplett'
  Cc: 'David Woodhouse', 'Brian Norris',
	linux-mtd, linux-kernel, 'Jingoo Han',
	'Dinh Nguyen'

On Tuesday, December 24, 2013 6:55 AM, Josh Triplett wrote:
> 
> The kernel already has this information, and individual drivers
> shouldn't duplicate that.  This also eliminates the use of __DATE__ and
> __TIME__, which make the build non-deterministic.
> 
> Signed-off-by: Josh Triplett <josh@joshtriplett.org>

(+cc Dinh Nguyen)

It looks good. :-)
Reviewed-by: Jingoo Han <jg1.han@samsung.com>

Best regards,
Jingoo Han

> ---
>  drivers/mtd/nand/denali_pci.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/denali_pci.c b/drivers/mtd/nand/denali_pci.c
> index 033f177..ab64416 100644
> --- a/drivers/mtd/nand/denali_pci.c
> +++ b/drivers/mtd/nand/denali_pci.c
> @@ -131,7 +131,6 @@ static struct pci_driver denali_pci_driver = {
> 
>  static int denali_init_pci(void)
>  {
> -	pr_info("Spectra MTD driver built on %s @ %s\n", __DATE__, __TIME__);
>  	return pci_register_driver(&denali_pci_driver);
>  }
>  module_init(denali_init_pci);
> --
> 1.8.5.2


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/7] mtd: denali: Drop print of build date/time
@ 2013-12-26  8:24     ` Jingoo Han
  0 siblings, 0 replies; 21+ messages in thread
From: Jingoo Han @ 2013-12-26  8:24 UTC (permalink / raw)
  To: 'Josh Triplett'
  Cc: 'Jingoo Han',
	linux-kernel, linux-mtd, 'Brian Norris',
	'David Woodhouse', 'Dinh Nguyen'

On Tuesday, December 24, 2013 6:55 AM, Josh Triplett wrote:
> 
> The kernel already has this information, and individual drivers
> shouldn't duplicate that.  This also eliminates the use of __DATE__ and
> __TIME__, which make the build non-deterministic.
> 
> Signed-off-by: Josh Triplett <josh@joshtriplett.org>

(+cc Dinh Nguyen)

It looks good. :-)
Reviewed-by: Jingoo Han <jg1.han@samsung.com>

Best regards,
Jingoo Han

> ---
>  drivers/mtd/nand/denali_pci.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/denali_pci.c b/drivers/mtd/nand/denali_pci.c
> index 033f177..ab64416 100644
> --- a/drivers/mtd/nand/denali_pci.c
> +++ b/drivers/mtd/nand/denali_pci.c
> @@ -131,7 +131,6 @@ static struct pci_driver denali_pci_driver = {
> 
>  static int denali_init_pci(void)
>  {
> -	pr_info("Spectra MTD driver built on %s @ %s\n", __DATE__, __TIME__);
>  	return pci_register_driver(&denali_pci_driver);
>  }
>  module_init(denali_init_pci);
> --
> 1.8.5.2

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2013-12-23 21:56 ` [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it Josh Triplett
@ 2014-01-03 16:40   ` Michal Marek
  2014-01-03 20:29     ` Josh Triplett
  0 siblings, 1 reply; 21+ messages in thread
From: Michal Marek @ 2014-01-03 16:40 UTC (permalink / raw)
  To: Josh Triplett, linux-kbuild, linux-kernel

On 2013-12-23 22:56, Josh Triplett wrote:
> GCC 4.9 and newer have a new warning -Wdate-time, which warns on any use
> of __DATE__, __TIME__, or __TIMESTAMP__, which would make the build
> non-deterministic.  Now that the kernel does not use any of those
> macros, turn on -Werror=date-time if available, to keep it that way.

Nice, I didn't know about -Wdate-time. Do you want me to merge the
entire series, or do you want individual maintainers merge the patches?
In the latter case, I'd wait with applying 7/7 in order not to break the
build. At any rate, you can add

Acked-by: Michal Marek <mmarek@suse.cz>

Thanks,
Michal

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2014-01-03 16:40   ` Michal Marek
@ 2014-01-03 20:29     ` Josh Triplett
  2014-01-03 20:55       ` Michal Marek
  0 siblings, 1 reply; 21+ messages in thread
From: Josh Triplett @ 2014-01-03 20:29 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild, linux-kernel

On Fri, Jan 03, 2014 at 05:40:52PM +0100, Michal Marek wrote:
> On 2013-12-23 22:56, Josh Triplett wrote:
> > GCC 4.9 and newer have a new warning -Wdate-time, which warns on any use
> > of __DATE__, __TIME__, or __TIMESTAMP__, which would make the build
> > non-deterministic.  Now that the kernel does not use any of those
> > macros, turn on -Werror=date-time if available, to keep it that way.
> 
> Nice, I didn't know about -Wdate-time. Do you want me to merge the
> entire series, or do you want individual maintainers merge the patches?
> In the latter case, I'd wait with applying 7/7 in order not to break the
> build. At any rate, you can add
> 
> Acked-by: Michal Marek <mmarek@suse.cz>

Please feel free to take the entire series through your tree; I received
some maintainer acks, but no indications that the patches are going
through their trees.

Patch 1 should have:
Reviewed-by: Jingoo Han <jg1.han@samsung.com>

and patch 3 should have:
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>

Thanks,
Josh Triplett

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2014-01-03 20:29     ` Josh Triplett
@ 2014-01-03 20:55       ` Michal Marek
  2014-01-03 21:00         ` Josh Triplett
  0 siblings, 1 reply; 21+ messages in thread
From: Michal Marek @ 2014-01-03 20:55 UTC (permalink / raw)
  To: Josh Triplett; +Cc: linux-kbuild, linux-kernel

On 3.1.2014 21:29, Josh Triplett wrote:
> Please feel free to take the entire series through your tree; I received
> some maintainer acks, but no indications that the patches are going
> through their trees.

OK. I will wait until mid next week and commit with any acks received.

Michal


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2014-01-03 20:55       ` Michal Marek
@ 2014-01-03 21:00         ` Josh Triplett
  2014-01-14 20:56           ` Michal Marek
  0 siblings, 1 reply; 21+ messages in thread
From: Josh Triplett @ 2014-01-03 21:00 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild, linux-kernel

On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote:
> On 3.1.2014 21:29, Josh Triplett wrote:
> > Please feel free to take the entire series through your tree; I received
> > some maintainer acks, but no indications that the patches are going
> > through their trees.
> 
> OK. I will wait until mid next week and commit with any acks received.

Thanks!

- Josh Triplett

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/7] mtd: denali: Drop print of build date/time
  2013-12-26  8:24     ` Jingoo Han
@ 2014-01-09 16:55       ` Brian Norris
  -1 siblings, 0 replies; 21+ messages in thread
From: Brian Norris @ 2014-01-09 16:55 UTC (permalink / raw)
  To: Jingoo Han
  Cc: 'Josh Triplett', 'David Woodhouse',
	linux-mtd, linux-kernel, 'Dinh Nguyen'

On Thu, Dec 26, 2013 at 05:24:53PM +0900, Jingoo Han wrote:
> On Tuesday, December 24, 2013 6:55 AM, Josh Triplett wrote:
> > 
> > The kernel already has this information, and individual drivers
> > shouldn't duplicate that.

BTW, it is possible for modules to be built at a different time than the
kernel, and this code could show that. But it's not very useful anyway,
so I agree.

> > This also eliminates the use of __DATE__ and
> > __TIME__, which make the build non-deterministic.
> > 
> > Signed-off-by: Josh Triplett <josh@joshtriplett.org>
> 
> (+cc Dinh Nguyen)
> 
> It looks good. :-)
> Reviewed-by: Jingoo Han <jg1.han@samsung.com>

Thanks. Pushed to l2-mtd.git.

Brian

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/7] mtd: denali: Drop print of build date/time
@ 2014-01-09 16:55       ` Brian Norris
  0 siblings, 0 replies; 21+ messages in thread
From: Brian Norris @ 2014-01-09 16:55 UTC (permalink / raw)
  To: Jingoo Han
  Cc: linux-mtd, 'David Woodhouse', 'Josh Triplett',
	'Dinh Nguyen',
	linux-kernel

On Thu, Dec 26, 2013 at 05:24:53PM +0900, Jingoo Han wrote:
> On Tuesday, December 24, 2013 6:55 AM, Josh Triplett wrote:
> > 
> > The kernel already has this information, and individual drivers
> > shouldn't duplicate that.

BTW, it is possible for modules to be built at a different time than the
kernel, and this code could show that. But it's not very useful anyway,
so I agree.

> > This also eliminates the use of __DATE__ and
> > __TIME__, which make the build non-deterministic.
> > 
> > Signed-off-by: Josh Triplett <josh@joshtriplett.org>
> 
> (+cc Dinh Nguyen)
> 
> It looks good. :-)
> Reviewed-by: Jingoo Han <jg1.han@samsung.com>

Thanks. Pushed to l2-mtd.git.

Brian

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2014-01-03 21:00         ` Josh Triplett
@ 2014-01-14 20:56           ` Michal Marek
  2014-01-14 21:40             ` Josh Triplett
  0 siblings, 1 reply; 21+ messages in thread
From: Michal Marek @ 2014-01-14 20:56 UTC (permalink / raw)
  To: Josh Triplett; +Cc: linux-kbuild, linux-kernel

Dne 3.1.2014 22:00, Josh Triplett napsal(a):
> On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote:
>> On 3.1.2014 21:29, Josh Triplett wrote:
>>> Please feel free to take the entire series through your tree; I received
>>> some maintainer acks, but no indications that the patches are going
>>> through their trees.
>>
>> OK. I will wait until mid next week and commit with any acks received.
> 
> Thanks!

I did not find time last week and Greg was faster and merged the driver
patches. But I'm reluctant to only merge the Makefile patch now, because
the kbuild branch would not build. I think I will send the patch to
Linus after 3.14-rc1.

Michal

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2014-01-14 20:56           ` Michal Marek
@ 2014-01-14 21:40             ` Josh Triplett
  2014-01-14 21:46               ` Greg KH
  0 siblings, 1 reply; 21+ messages in thread
From: Josh Triplett @ 2014-01-14 21:40 UTC (permalink / raw)
  To: Michal Marek, gregkh; +Cc: linux-kbuild, linux-kernel

On Tue, Jan 14, 2014 at 09:56:53PM +0100, Michal Marek wrote:
> Dne 3.1.2014 22:00, Josh Triplett napsal(a):
> > On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote:
> >> On 3.1.2014 21:29, Josh Triplett wrote:
> >>> Please feel free to take the entire series through your tree; I received
> >>> some maintainer acks, but no indications that the patches are going
> >>> through their trees.
> >>
> >> OK. I will wait until mid next week and commit with any acks received.
> > 
> > Thanks!
> 
> I did not find time last week and Greg was faster and merged the driver
> patches. But I'm reluctant to only merge the Makefile patch now, because
> the kbuild branch would not build. I think I will send the patch to
> Linus after 3.14-rc1.

Greg, if you already have all the driver patches in your tree, perhaps
you could go ahead and take the Makefile patch through your tree as
well?  (Assuming that's OK with you, Michal?)

- Josh Triplett

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2014-01-14 21:40             ` Josh Triplett
@ 2014-01-14 21:46               ` Greg KH
  2014-01-27 22:57                 ` Michal Marek
  0 siblings, 1 reply; 21+ messages in thread
From: Greg KH @ 2014-01-14 21:46 UTC (permalink / raw)
  To: Josh Triplett; +Cc: Michal Marek, linux-kbuild, linux-kernel

On Tue, Jan 14, 2014 at 01:40:15PM -0800, Josh Triplett wrote:
> On Tue, Jan 14, 2014 at 09:56:53PM +0100, Michal Marek wrote:
> > Dne 3.1.2014 22:00, Josh Triplett napsal(a):
> > > On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote:
> > >> On 3.1.2014 21:29, Josh Triplett wrote:
> > >>> Please feel free to take the entire series through your tree; I received
> > >>> some maintainer acks, but no indications that the patches are going
> > >>> through their trees.
> > >>
> > >> OK. I will wait until mid next week and commit with any acks received.
> > > 
> > > Thanks!
> > 
> > I did not find time last week and Greg was faster and merged the driver
> > patches. But I'm reluctant to only merge the Makefile patch now, because
> > the kbuild branch would not build. I think I will send the patch to
> > Linus after 3.14-rc1.
> 
> Greg, if you already have all the driver patches in your tree, perhaps
> you could go ahead and take the Makefile patch through your tree as
> well?  (Assuming that's OK with you, Michal?)

Did I really grab all of the other patches?  I don't remember how many
there were in this series for stuff I maintain.  If I have them all,
sure, I'll be glad to take it, otherwise I agree with Michal, it should
be sent to Linus after 3.14-rc1 is out to make sure everything is
properly synced up and you didn't miss any new drivers coming in that
missed getting converted.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it
  2014-01-14 21:46               ` Greg KH
@ 2014-01-27 22:57                 ` Michal Marek
  0 siblings, 0 replies; 21+ messages in thread
From: Michal Marek @ 2014-01-27 22:57 UTC (permalink / raw)
  To: Josh Triplett; +Cc: Greg KH, linux-kbuild, linux-kernel

On 14.1.2014 22:46, Greg KH wrote:
> On Tue, Jan 14, 2014 at 01:40:15PM -0800, Josh Triplett wrote:
>> On Tue, Jan 14, 2014 at 09:56:53PM +0100, Michal Marek wrote:
>>> Dne 3.1.2014 22:00, Josh Triplett napsal(a):
>>>> On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote:
>>>>> On 3.1.2014 21:29, Josh Triplett wrote:
>>>>>> Please feel free to take the entire series through your tree; I received
>>>>>> some maintainer acks, but no indications that the patches are going
>>>>>> through their trees.
>>>>>
>>>>> OK. I will wait until mid next week and commit with any acks received.
>>>>
>>>> Thanks!
>>>
>>> I did not find time last week and Greg was faster and merged the driver
>>> patches. But I'm reluctant to only merge the Makefile patch now, because
>>> the kbuild branch would not build. I think I will send the patch to
>>> Linus after 3.14-rc1.
>>
>> Greg, if you already have all the driver patches in your tree, perhaps
>> you could go ahead and take the Makefile patch through your tree as
>> well?  (Assuming that's OK with you, Michal?)
> 
> Did I really grab all of the other patches?  I don't remember how many
> there were in this series for stuff I maintain.  If I have them all,
> sure, I'll be glad to take it, otherwise I agree with Michal, it should
> be sent to Linus after 3.14-rc1 is out to make sure everything is
> properly synced up and you didn't miss any new drivers coming in that
> missed getting converted.

FYI: The remaining patches are now in the kbuild.git#drop-time branch
and also in the for-next branch.

Thanks,
Michal

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2014-01-27 22:57 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-23 21:54 [PATCH 0/7] Eliminate uses of __DATE__ and __TIME__ Josh Triplett
2013-12-23 21:54 ` [PATCH 1/7] mtd: denali: Drop print of build date/time Josh Triplett
2013-12-26  8:24   ` Jingoo Han
2013-12-26  8:24     ` Jingoo Han
2014-01-09 16:55     ` Brian Norris
2014-01-09 16:55       ` Brian Norris
2013-12-23 21:55 ` [PATCH 2/7] net: wireless: brcm80211: Drop debug version with " Josh Triplett
2013-12-23 21:55 ` [PATCH 3/7] staging: rtl8188eu: Drop print of " Josh Triplett
2013-12-24  1:15   ` Larry Finger
2013-12-23 21:55 ` [PATCH 4/7] staging: rts5139: Drop print of build time Josh Triplett
2013-12-23 21:55 ` [PATCH 5/7] staging: wlags49_h2: Drop debug macro recording build date/time Josh Triplett
2013-12-23 21:55 ` [PATCH 6/7] x86: math-emu: Drop already-disabled print of build date Josh Triplett
2013-12-23 21:56 ` [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it Josh Triplett
2014-01-03 16:40   ` Michal Marek
2014-01-03 20:29     ` Josh Triplett
2014-01-03 20:55       ` Michal Marek
2014-01-03 21:00         ` Josh Triplett
2014-01-14 20:56           ` Michal Marek
2014-01-14 21:40             ` Josh Triplett
2014-01-14 21:46               ` Greg KH
2014-01-27 22:57                 ` Michal Marek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.