mirror of https://gitee.com/openkylin/linux.git
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: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
dc986e3ed3
commit
3325721d36
|
@ -78,7 +78,7 @@ enum chnl_op {
|
|||
};
|
||||
|
||||
#define CHHLOP_IN_PROGRESS(_pHTInfo) \
|
||||
((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? true : false
|
||||
(((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? true : false)
|
||||
|
||||
/*
|
||||
union ht_capability {
|
||||
|
@ -385,8 +385,8 @@ extern u8 MCS_FILTER_1SS[16];
|
|||
#define LEGACY_WIRELESS_MODE IEEE_MODE_MASK
|
||||
|
||||
#define CURRENT_RATE(WirelessMode, LegacyRate, HTRate) \
|
||||
((WirelessMode & (LEGACY_WIRELESS_MODE)) != 0) ? \
|
||||
(LegacyRate) : (PICK_RATE(LegacyRate, HTRate))
|
||||
(((WirelessMode & (LEGACY_WIRELESS_MODE)) != 0) ? \
|
||||
(LegacyRate) : (PICK_RATE(LegacyRate, HTRate)))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue