]>
Commit | Line | Data |
---|---|---|
1 | --- wl-6.30.223.248/src/wl/sys/wl_linux.c~ 2014-12-11 21:16:46.000000000 +0100 | |
2 | +++ wl-6.30.223.248/src/wl/sys/wl_linux.c 2014-12-11 21:31:47.006131594 +0100 | |
3 | @@ -722,7 +722,14 @@ | |
4 | WL_ALL_PASSIVE_ENAB(wl) ? ", Passive Mode" : "", EPI_VERSION_STR); | |
5 | ||
6 | #ifdef BCMDBG | |
7 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) | |
8 | +#pragma GCC diagnostic push | |
9 | +#pragma GCC diagnostic ignored "-Wdate-time" | |
10 | +#endif | |
11 | printf(" (Compiled in " SRCBASE " at " __TIME__ " on " __DATE__ ")"); | |
12 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) | |
13 | +#pragma GCC diagnostic pop | |
14 | +#endif | |
15 | #endif | |
16 | printf("\n"); | |
17 | ||
18 | @@ -2049,8 +2056,15 @@ | |
19 | void | |
20 | wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b) | |
21 | { | |
22 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) | |
23 | +#pragma GCC diagnostic push | |
24 | +#pragma GCC diagnostic ignored "-Wdate-time" | |
25 | +#endif | |
26 | bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit, | |
27 | __DATE__, __TIME__, EPI_VERSION_STR); | |
28 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) | |
29 | +#pragma GCC diagnostic pop | |
30 | +#endif | |
31 | } | |
32 | ||
33 | #if defined(BCMDBG) |