broadcom-sta/broadcom-sta-6.30.223.141-gcc-4.9.patch

16 lines
603 B
Diff

diff -Nru broadcom-sta-6.30.223.141.orig/src/wl/sys/wl_linux.c broadcom-sta-6.30.223.141/src/wl/sys/wl_linux.c
--- broadcom-sta-6.30.223.141.orig/src/wl/sys/wl_linux.c 2014-07-01 21:32:00.782056653 +0200
+++ broadcom-sta-6.30.223.141/src/wl/sys/wl_linux.c 2014-07-01 21:35:11.597137367 +0200
@@ -2037,8 +2037,11 @@
void
wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b)
{
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdate-time"
bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit,
__DATE__, __TIME__, EPI_VERSION_STR);
+#pragma GCC diagnostic pop
}
#if defined(BCMDBG)