From 6b5447ce630cdc231caf4f958325f8fa925216bf Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 11 Sep 2014 19:02:10 -0500 Subject: [PATCH] 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 Signed-off-by: Larry Finger Cc: Kees Cook Signed-off-by: John W. Linville --- drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.h b/drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.h index 0d185e61caab..bd03b8cccd32 100644 --- a/drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.h +++ b/drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.h @@ -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 { \ -- 2.20.1