Commit 79b64ed7 authored by Ping-Ke Shih's avatar Ping-Ke Shih Committed by Kalle Valo

rtlwifi: extend debug_comp to u64

The number of debugging conditions now exceeds the capabilities of a
32-bit word.
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent e332e2a2
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#ifdef CONFIG_RTLWIFI_DEBUG #ifdef CONFIG_RTLWIFI_DEBUG
void _rtl_dbg_trace(struct rtl_priv *rtlpriv, int comp, int level, void _rtl_dbg_trace(struct rtl_priv *rtlpriv, u64 comp, int level,
const char *fmt, ...) const char *fmt, ...)
{ {
if (unlikely((comp & rtlpriv->cfg->mod_params->debug_mask) && if (unlikely((comp & rtlpriv->cfg->mod_params->debug_mask) &&
......
...@@ -169,7 +169,7 @@ enum dbgp_flag_e { ...@@ -169,7 +169,7 @@ enum dbgp_flag_e {
struct rtl_priv; struct rtl_priv;
__printf(4, 5) __printf(4, 5)
void _rtl_dbg_trace(struct rtl_priv *rtlpriv, int comp, int level, void _rtl_dbg_trace(struct rtl_priv *rtlpriv, u64 comp, int level,
const char *fmt, ...); const char *fmt, ...);
__printf(4, 5) __printf(4, 5)
...@@ -198,7 +198,7 @@ struct rtl_priv; ...@@ -198,7 +198,7 @@ struct rtl_priv;
__printf(4, 5) __printf(4, 5)
static inline void RT_TRACE(struct rtl_priv *rtlpriv, static inline void RT_TRACE(struct rtl_priv *rtlpriv,
int comp, int level, u64 comp, int level,
const char *fmt, ...) const char *fmt, ...)
{ {
} }
...@@ -211,7 +211,7 @@ static inline void RTPRINT(struct rtl_priv *rtlpriv, ...@@ -211,7 +211,7 @@ static inline void RTPRINT(struct rtl_priv *rtlpriv,
} }
static inline void RT_PRINT_DATA(struct rtl_priv *rtlpriv, static inline void RT_PRINT_DATA(struct rtl_priv *rtlpriv,
int comp, int level, u64 comp, int level,
const char *titlestring, const char *titlestring,
const void *hexdata, size_t hexdatalen) const void *hexdata, size_t hexdatalen)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment