mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 04:53:09 -04:00
staging: rtl8723bs: put parentheses on macros with complex values in include/hal_data.h
fix the following checkpatch warning:
ERROR: Macros with complex values should be enclosed in parentheses
49: FILE: drivers/staging/rtl8723bs/include/hal_data.h:49:
+#define CHANNEL_MAX_NUMBER
14+24+21 /* 14 is the max channel number */
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/22c4bc695d3600fcaec18949c7521fa38aa4f4a0.1616854134.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e69934a142
commit
a6bf763d12
@@ -46,7 +46,7 @@ enum rt_ampdu_burst {
|
||||
RT_AMPDU_BURST_8723B = 7,
|
||||
};
|
||||
|
||||
#define CHANNEL_MAX_NUMBER 14+24+21 /* 14 is the max channel number */
|
||||
#define CHANNEL_MAX_NUMBER (14+24+21) /* 14 is the max channel number */
|
||||
#define CHANNEL_MAX_NUMBER_2G 14
|
||||
#define CHANNEL_MAX_NUMBER_5G 54 /* Please refer to "phy_GetChnlGroup8812A" and "Hal_ReadTxPowerInfo8812A" */
|
||||
#define CHANNEL_MAX_NUMBER_5G_80M 7
|
||||
|
||||
Reference in New Issue
Block a user