mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging: gs_fpgaboot: remove __TIMESTAMP__ macro
@ 2014-03-25 15:48 Arnd Bergmann
  2014-03-28  9:22 ` Insop Song
  2014-04-06 13:17 ` Geert Uytterhoeven
  0 siblings, 2 replies; 4+ messages in thread
From: Arnd Bergmann @ 2014-03-25 15:48 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Insop Song

We specifically build the kernel with -Werror=date-time to detect
such macros, which gives us this error:

gs_fpgaboot/gs_fpgaboot.c:376:44: error: macro "__TIMESTAMP__" might prevent reproducible builds [-Werror=date-time]
  pr_info("built at %s UTC\n", __TIMESTAMP__);

The obvious fix is to remove the printk output line.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
index 89bc84d..7506900 100644
--- a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
+++ b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
@@ -373,7 +373,6 @@ static int __init gs_fpgaboot_init(void)
 	r = -1;
 
 	pr_info("FPGA DOWNLOAD --->\n");
-	pr_info("built at %s UTC\n", __TIMESTAMP__);
 
 	pr_info("FPGA image file name: %s\n", file);
 


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH] staging: gs_fpgaboot: remove __TIMESTAMP__ macro
@ 2014-03-28  3:54 Insop Song
  0 siblings, 0 replies; 4+ messages in thread
From: Insop Song @ 2014-03-28  3:54 UTC (permalink / raw)
  To: insop.song, insop.song, gregkh; +Cc: linux-kernel

Remove warning

Insop Song (1):
  Remove warning printk

 drivers/staging/gs_fpgaboot/gs_fpgaboot.c |    1 -
 1 file changed, 1 deletion(-)

-- 
1.7.9.5


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

end of thread, other threads:[~2014-04-06 13:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-25 15:48 [PATCH] staging: gs_fpgaboot: remove __TIMESTAMP__ macro Arnd Bergmann
2014-03-28  9:22 ` Insop Song
2014-04-06 13:17 ` Geert Uytterhoeven
2014-03-28  3:54 Insop Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®