net: rockchip_wlan: fix clang compile error

drivers/net/wireless/rockchip_wlan/*/core/rtw_debug.c:45:44:
error: expansion of date or time macro is not reproducible [-Werror,-Wdate-time]
            RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);

Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Change-Id: I506498ea3013ee3458dc1f8d2a88d9aac76c149e
This commit is contained in:
Wu Liangqing
2020-10-30 11:23:00 +08:00
committed by Tao Huang
parent b1d5730217
commit 3fb89274c9
6 changed files with 6 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ u32 GlobalDebugLevel = _drv_err_;
void dump_drv_version(void *sel)
{
DBG_871X_SEL_NL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
//DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
}
void dump_drv_cfg(void *sel)

View File

@@ -43,7 +43,7 @@ const char *rtw_log_level_str[] = {
void dump_drv_version(void *sel)
{
RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
//RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
}
void dump_drv_cfg(void *sel)

View File

@@ -42,7 +42,7 @@ const char *rtw_log_level_str[] = {
void dump_drv_version(void *sel)
{
RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
//RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
}
void dump_drv_cfg(void *sel)

View File

@@ -42,7 +42,7 @@ const char *rtw_log_level_str[] = {
void dump_drv_version(void *sel)
{
RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
//RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
}
#ifdef CONFIG_PROC_DEBUG

View File

@@ -43,7 +43,7 @@ const char *rtw_log_level_str[] = {
void dump_drv_version(void *sel)
{
RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
//RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
}
void dump_drv_cfg(void *sel)

View File

@@ -47,7 +47,7 @@ const char *rtw_log_level_str[] = {
void dump_drv_version(void *sel)
{
RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
// RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
}
void dump_drv_cfg(void *sel)