diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-10-10 10:44:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-11 15:42:55 -0700 |
commit | b812fd3b5793d4199e83b9494ece92e8df8d22c0 (patch) | |
tree | e50c2bf5aa0f009851737fad450c2efaf32fbc2d /drivers/staging/rtl8192u | |
parent | b3052681e8c060b9765e63a533d65424b58707bc (diff) | |
download | op-kernel-dev-b812fd3b5793d4199e83b9494ece92e8df8d22c0.zip op-kernel-dev-b812fd3b5793d4199e83b9494ece92e8df8d22c0.tar.gz |
staging: rtl8192u: add parenthesis around complex macros in r819xU_HTType.h
This patch fixes the following checkpatch error:
ERROR: Macros with complex values should be enclosed in parenthesis
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/r819xU_HTType.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_HTType.h b/drivers/staging/rtl8192u/r819xU_HTType.h index c2bc0ff..603a940 100644 --- a/drivers/staging/rtl8192u/r819xU_HTType.h +++ b/drivers/staging/rtl8192u/r819xU_HTType.h @@ -27,7 +27,8 @@ #define HT_SUPPORTED_MCS_1SS_BITMAP 0x000000ff #define HT_SUPPORTED_MCS_2SS_BITMAP 0x0000ff00 -#define HT_SUPPORTED_MCS_1SS_2SS_BITMAP HT_MCS_1SS_BITMAP|HT_MCS_1SS_2SS_BITMAP +#define HT_SUPPORTED_MCS_1SS_2SS_BITMAP \ + (HT_MCS_1SS_BITMAP | HT_MCS_1SS_2SS_BITMAP) typedef enum _HT_MCS_RATE { @@ -74,7 +75,7 @@ typedef enum _CHNLOP { /* Determine if the Channel Operation is in progress */ #define CHHLOP_IN_PROGRESS(_pHTInfo) \ - ((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? TRUE : FALSE + (((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? TRUE : FALSE) typedef enum _HT_ACTION { |