Commit 6b5447ce authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

rtlwifi: btcoexist: avoid format string in printk

Recent changes to this driver inadvertently reverted the change made by Kees
Cook in commit 6437f51e.
Reported-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4307b0fe
...@@ -117,7 +117,7 @@ extern u32 btc_dbg_type[]; ...@@ -117,7 +117,7 @@ extern u32 btc_dbg_type[];
#define WIFI_P2P_GC_CONNECTED BIT4 #define WIFI_P2P_GC_CONNECTED BIT4
#define CL_SPRINTF snprintf #define CL_SPRINTF snprintf
#define CL_PRINTF printk #define CL_PRINTF(buf) printk("%s", buf)
#define BTC_PRINT(dbgtype, dbgflag, printstr, ...) \ #define BTC_PRINT(dbgtype, dbgflag, printstr, ...) \
do { \ do { \
......
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