OSDN Git Service

wl: fix __DATE__ and __TIME__ building errors
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 2 Aug 2015 12:05:30 +0000 (14:05 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 4 Aug 2015 07:37:13 +0000 (15:37 +0800)
commita4a30d8cd4fb253a04ec886ee3a35988fb3f859d
tree552728579106db1b88580dcf2faf892a4c27ead8
parentbdf7a59a2adbc83bfa52c67994024d0c25f904f9
wl: fix __DATE__ and __TIME__ building errors

The date-time warning introduced in gcc 4.9 causes the errors:

/home/utente/kitkat-x86/kernel/drivers/net/wireless/wl/src/wl/sys/wl_linux.c: In function ‘wl_dump_ver’:
/home/utente/kitkat-x86/kernel/drivers/net/wireless/wl/src/wl/sys/wl_linux.c:2051:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
/home/utente/kitkat-x86/kernel/drivers/net/wireless/wl/src/wl/sys/wl_linux.c:2051:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^

Removing the unnecessary macros __DATE__ and __TIME__ in wl_linux.c
to fix the errors.
drivers/net/wireless/wl/wl.patch