2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00

staging: rtl8723bs: Macros with complex values should be enclosed in parentheses

Enclosing macros with complex values ensures expression is evaluated as
expected.

Signed-off-by: Justin Vreeland <justin@jvreeland.com>
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Justin Vreeland 2017-05-01 18:52:50 -06:00 committed by Greg Kroah-Hartman
parent e803a374e9
commit 77503165b8

View File

@ -209,7 +209,10 @@ typedef struct _ODM_RATE_ADAPTIVE {
#define AVG_THERMAL_NUM 8
#define IQK_Matrix_REG_NUM 8
#define IQK_Matrix_Settings_NUM 14+24+21 /* Channels_2_4G_NUM + Channels_5G_20M_NUM + Channels_5G */
#define IQK_Matrix_Settings_NUM (14 + 24 + 21) /* Channels_2_4G_NUM
* + Channels_5G_20M_NUM
* + Channels_5G
*/
#define DM_Type_ByFW 0
#define DM_Type_ByDriver 1