]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: rtl8192u: put parentheses on macros with complex values in r8192U_hw.h
authorManikishan Ghantasala <manikishanghantasala@gmail.com>
Wed, 2 Jun 2021 19:33:31 +0000 (01:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 13:59:18 +0000 (15:59 +0200)
Fix "Macros with complex values should be enclosed in parentheses" checkpatch error.

Signed-off-by: Manikishan Ghantasala <manikishanghantasala@gmail.com>
Link: https://lore.kernel.org/r/20210602193334.11687-3-manikishanghantasala@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_hw.h

index b72cef3871b6e8c30ccb8789e84fd77519df04c8..1de0605a9423abd5358c6d965a5fb36d0cab7c23 100644 (file)
@@ -221,13 +221,13 @@ enum _RTL8192Usb_HW {
 #define        RATR_MCS14              0x04000000
 #define        RATR_MCS15              0x08000000
 // ALL CCK Rate
-#define RATE_ALL_CCK           RATR_1M | RATR_2M | RATR_55M | RATR_11M
-#define RATE_ALL_OFDM_AG       RATR_6M | RATR_9M | RATR_12M | RATR_18M |\
-                                RATR_24M | RATR_36M | RATR_48M | RATR_54M
-#define RATE_ALL_OFDM_1SS      RATR_MCS0 | RATR_MCS1 | RATR_MCS2 | RATR_MCS3 |\
-                                RATR_MCS4 | RATR_MCS5 | RATR_MCS6 | RATR_MCS7
-#define RATE_ALL_OFDM_2SS      RATR_MCS8 | RATR_MCS9 | RATR_MCS10 | RATR_MCS11 |\
-                                RATR_MCS12 | RATR_MCS13 | RATR_MCS14 | RATR_MCS15
+#define RATE_ALL_CCK           (RATR_1M | RATR_2M | RATR_55M | RATR_11M)
+#define RATE_ALL_OFDM_AG       (RATR_6M | RATR_9M | RATR_12M | RATR_18M |\
+                                RATR_24M | RATR_36M | RATR_48M | RATR_54M)
+#define RATE_ALL_OFDM_1SS      (RATR_MCS0 | RATR_MCS1 | RATR_MCS2 | RATR_MCS3 |\
+                                RATR_MCS4 | RATR_MCS5 | RATR_MCS6 | RATR_MCS7)
+#define RATE_ALL_OFDM_2SS      (RATR_MCS8 | RATR_MCS9 | RATR_MCS10 | RATR_MCS11 |\
+                                RATR_MCS12 | RATR_MCS13 | RATR_MCS14 | RATR_MCS15)
        EPROM_CMD               = 0xfe58,
 #define Cmd9346CR_9356SEL      BIT(4)
 #define EPROM_CMD_OPERATING_MODE_SHIFT 6