mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user