fix the following checkpatch warning: ERROR: Macros with complex values should be enclosed in parentheses 152: FILE: drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h:152: +#define BTC_PRINT(dbgtype, dbgflag, printstr) \ no_printk printstr -- ERROR: Macros with complex values should be enclosed in parentheses 153: FILE: drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h:153: +#define BTC_PRINT_F(dbgtype, dbgflag, printstr) \ no_printk printstr -- ERROR: Macros with complex values should be enclosed in parentheses 154: FILE: drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h:154: +#define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr) \ no_printk printstr
Signed-off-by: Fabio Aiuto <fabioaiut...@gmail.com> --- drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h index 10c021024b24..1926a1f7a7e5 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h +++ b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h @@ -149,9 +149,9 @@ extern u32 GLBtcDbgType[]; } #else -#define BTC_PRINT(dbgtype, dbgflag, printstr) no_printk printstr -#define BTC_PRINT_F(dbgtype, dbgflag, printstr) no_printk printstr -#define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr) no_printk printstr +#define BTC_PRINT(dbgtype, dbgflag, printstr) (no_printk printstr) +#define BTC_PRINT_F(dbgtype, dbgflag, printstr) (no_printk printstr) +#define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr) (no_printk printstr) #define BTC_PRINT_DATA(dbgtype, dbgflag, _TitleString, _HexData, _HexDataLen) \ no_printk("%s %p %zu", _TitleString, _HexData, _HexDataLen) #endif -- 2.20.1