staging: rtl8192u: add parenthesis around complex macros in r819xU_HTType.h
authorXenia Ragiadakou <burzalodowa@gmail.com>
Thu, 10 Oct 2013 07:44:00 +0000 (10:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:42:55 +0000 (15:42 -0700)
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>
drivers/staging/rtl8192u/r819xU_HTType.h

index c2bc0ff6cb177674f5f84f5dc5605d8d34025104..603a9403789f1b5dc71cf66e2cfa8ecac1de3d36 100644 (file)
@@ -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 {