提交 3325721d 编写于 作者: M Mateusz Kulikowski 提交者: Greg Kroah-Hartman

staging: rtl8192e: fix coding style errors (macros in parentheses)

Fix checkpatch.pl errors 'Macros with complex values should be enclosed in parentheses'.
Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 dc986e3e
...@@ -78,7 +78,7 @@ enum chnl_op { ...@@ -78,7 +78,7 @@ enum chnl_op {
}; };
#define CHHLOP_IN_PROGRESS(_pHTInfo) \ #define CHHLOP_IN_PROGRESS(_pHTInfo) \
((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? true : false (((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? true : false)
/* /*
union ht_capability { union ht_capability {
...@@ -385,8 +385,8 @@ extern u8 MCS_FILTER_1SS[16]; ...@@ -385,8 +385,8 @@ extern u8 MCS_FILTER_1SS[16];
#define LEGACY_WIRELESS_MODE IEEE_MODE_MASK #define LEGACY_WIRELESS_MODE IEEE_MODE_MASK
#define CURRENT_RATE(WirelessMode, LegacyRate, HTRate) \ #define CURRENT_RATE(WirelessMode, LegacyRate, HTRate) \
((WirelessMode & (LEGACY_WIRELESS_MODE)) != 0) ? \ (((WirelessMode & (LEGACY_WIRELESS_MODE)) != 0) ? \
(LegacyRate) : (PICK_RATE(LegacyRate, HTRate)) (LegacyRate) : (PICK_RATE(LegacyRate, HTRate)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册