wifi: clean dhd static buf printk [1/1]

PD#SWPL-247769

Problem:
use printk too more

Solution:
pr_err -> pr_debug

Verify:
local

Change-Id: If0d6b88187ec88dd65d428f588268ed5e7b43eb8
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
This commit is contained in:
jiabin.chen
2026-01-07 14:14:25 +08:00
committed by Jiabin Chen
parent 762c094859
commit f044ace27d
+3 -3
View File
@@ -24,19 +24,19 @@ uint static_msg_level = STATIC_ERROR_LEVEL | STATIC_MSG_LEVEL;
#define DHD_STATIC_MSG(x, args...) \
do { \
if (static_msg_level & STATIC_MSG_LEVEL) { \
pr_err("[dhd] STATIC-MSG) %s : " x, __func__, ## args); \
pr_debug("[dhd] STATIC-MSG) %s : " x, __func__, ## args); \
} \
} while (0)
#define DHD_STATIC_ERROR(x, args...) \
do { \
if (static_msg_level & STATIC_ERROR_LEVEL) { \
pr_err("[dhd] STATIC-ERROR) %s : " x, __func__, ## args); \
pr_debug("[dhd] STATIC-ERROR) : " x, ## args); \
} \
} while (0)
#define DHD_STATIC_TRACE(x, args...) \
do { \
if (static_msg_level & STATIC_TRACE_LEVEL) { \
pr_err("[dhd] STATIC-TRACE) %s : " x, __func__, ## args); \
pr_debug("[dhd] STATIC-TRACE) %s : " x, __func__, ## args); \
} \
} while (0)