Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8188eu: include: fixed multiple blank space coding style issues

fixed multiple blank space coding style issues
reported by checkpatch

Signed-off-by: B K Karthik <karthik.bk2000@live.com>
Link: https://lore.kernel.org/r/20200718091442.xamnoawpguo42k7v@pesu-pes-edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

B K Karthik and committed by
Greg Kroah-Hartman
1f491421 e5debaec

+10 -10
+1 -1
drivers/staging/rtl8188eu/include/hal_com.h
··· 81 81 #define RATE_ALL_OFDM_AG (RATR_6M | RATR_9M | RATR_12M | RATR_18M | \ 82 82 RATR_24M | RATR_36M | RATR_48M | RATR_54M) 83 83 #define RATE_ALL_OFDM_1SS (RATR_MCS0 | RATR_MCS1 | RATR_MCS2 | \ 84 - RATR_MCS3 | RATR_MCS4 | RATR_MCS5|RATR_MCS6 | \ 84 + RATR_MCS3 | RATR_MCS4 | RATR_MCS5 | RATR_MCS6 | \ 85 85 RATR_MCS7) 86 86 #define RATE_ALL_OFDM_2SS (RATR_MCS8 | RATR_MCS9 | RATR_MCS10 | \ 87 87 RATR_MCS11 | RATR_MCS12 | RATR_MCS13 | \
+1 -1
drivers/staging/rtl8188eu/include/osdep_service.h
··· 82 82 83 83 /* Macros for handling unaligned memory accesses */ 84 84 85 - #define RTW_GET_BE24(a) ((((u32)(a)[0]) << 16) | (((u32) (a)[1]) << 8) | \ 85 + #define RTW_GET_BE24(a) ((((u32)(a)[0]) << 16) | (((u32)(a)[1]) << 8) | \ 86 86 ((u32)(a)[2])) 87 87 88 88 void rtw_buf_free(u8 **buf, u32 *buf_len);
+1 -1
drivers/staging/rtl8188eu/include/rtl8188e_hal.h
··· 104 104 (WMM_NORMAL_TX_TOTAL_PAGE_NUMBER + 1) /* 0xA9 */ 105 105 106 106 /* Chip specific */ 107 - #define CHIP_BONDING_IDENTIFIER(_value) (((_value)>>22)&0x3) 107 + #define CHIP_BONDING_IDENTIFIER(_value) (((_value) >> 22) & 0x3) 108 108 #define CHIP_BONDING_92C_1T2R 0x1 109 109 #define CHIP_BONDING_88C_USB_MCARD 0x2 110 110 #define CHIP_BONDING_88C_USB_HP 0x1
+6 -6
drivers/staging/rtl8188eu/include/rtl8188e_xmit.h
··· 30 30 #define SET_EARLYMODE_LEN2_1(__pAddr, __Value) \ 31 31 SET_BITS_TO_LE_4BYTE(__pAddr, 28, 4, __Value) 32 32 #define SET_EARLYMODE_LEN2_2(__pAddr, __Value) \ 33 - SET_BITS_TO_LE_4BYTE(__pAddr+4, 0, 8, __Value) 33 + SET_BITS_TO_LE_4BYTE(__pAddr + 4, 0, 8, __Value) 34 34 #define SET_EARLYMODE_LEN3(__pAddr, __Value) \ 35 - SET_BITS_TO_LE_4BYTE(__pAddr+4, 8, 12, __Value) 35 + SET_BITS_TO_LE_4BYTE(__pAddr + 4, 8, 12, __Value) 36 36 #define SET_EARLYMODE_LEN4(__pAddr, __Value) \ 37 - SET_BITS_TO_LE_4BYTE(__pAddr+4, 20, 12, __Value) 37 + SET_BITS_TO_LE_4BYTE(__pAddr + 4, 20, 12, __Value) 38 38 39 39 /* */ 40 40 /* defined for TX DESC Operation */ ··· 100 100 101 101 #define txdesc_set_ccx_sw_88e(txdesc, value) \ 102 102 do { \ 103 - ((struct txdesc_88e *)(txdesc))->sw1 = (((value)>>8) & 0x0f); \ 103 + ((struct txdesc_88e *)(txdesc))->sw1 = (((value) >> 8) & 0x0f); \ 104 104 ((struct txdesc_88e *)(txdesc))->sw0 = ((value) & 0xff); \ 105 105 } while (0) 106 106 ··· 138 138 u8 sw0; 139 139 }; 140 140 141 - #define txrpt_ccx_sw_88e(txrpt_ccx) ((txrpt_ccx)->sw0 + ((txrpt_ccx)->sw1<<8)) 141 + #define txrpt_ccx_sw_88e(txrpt_ccx) ((txrpt_ccx)->sw0 + ((txrpt_ccx)->sw1 << 8)) 142 142 #define txrpt_ccx_qtime_88e(txrpt_ccx) \ 143 - ((txrpt_ccx)->ccx_qtime0+((txrpt_ccx)->ccx_qtime1<<8)) 143 + ((txrpt_ccx)->ccx_qtime0 + ((txrpt_ccx)->ccx_qtime1 << 8)) 144 144 145 145 void rtl8188e_fill_fake_txdesc(struct adapter *padapter, u8 *pDesc, 146 146 u32 BufferLen, u8 IsPsPoll, u8 IsBTQosNull);
+1 -1
drivers/staging/rtl8188eu/include/rtw_cmd.h
··· 115 115 */ 116 116 117 117 #define RTW_SSID_SCAN_AMOUNT 9 /* for WEXT_CSCAN_AMOUNT 9 */ 118 - #define RTW_CHANNEL_SCAN_AMOUNT (14+37) 118 + #define RTW_CHANNEL_SCAN_AMOUNT (14 + 37) 119 119 struct sitesurvey_parm { 120 120 int scan_mode; /* active: 1, passive: 0 */ 121 121 u8 ssid_num;