From: Xenia Ragiadakou Date: Thu, 10 Oct 2013 07:44:00 +0000 (+0300) Subject: staging: rtl8192u: add parenthesis around complex macros in r819xU_HTType.h X-Git-Tag: firefly_0821_release~176^2~5057^2~318 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b812fd3b5793d4199e83b9494ece92e8df8d22c0;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r819xU_HTType.h b/drivers/staging/rtl8192u/r819xU_HTType.h index c2bc0ff6cb17..603a9403789f 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 {