mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 19:26:01 -04:00
rtlwifi: btcoexist: avoid format string in printk
Recent changes to this driver inadvertently reverted the change made by Kees
Cook in commit 6437f51ec3.
Reported-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
4307b0fe22
commit
6b5447ce63
@@ -117,7 +117,7 @@ extern u32 btc_dbg_type[];
|
||||
#define WIFI_P2P_GC_CONNECTED BIT4
|
||||
|
||||
#define CL_SPRINTF snprintf
|
||||
#define CL_PRINTF printk
|
||||
#define CL_PRINTF(buf) printk("%s", buf)
|
||||
|
||||
#define BTC_PRINT(dbgtype, dbgflag, printstr, ...) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user