Skip to content

Commit

Permalink
staging: gs_fpgaboot: remove __TIMESTAMP__ macro
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Insop Song <insop.song@gainspeed.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Arnd Bergmann authored and Greg Kroah-Hartman committed Apr 15, 2014
1 parent 1a52489 commit 14e6e35
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/gs_fpgaboot/gs_fpgaboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 14e6e35

Please sign in to comment.