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

staging: rtl8712: remove spaces before commas

checkpatch.pl fix for
ERROR: space prohibited before that ',' (ctx:WxE)

Signed-off-by: Max Perepelitsyn <mperepelitsyn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Max Perepelitsyn and committed by
Greg Kroah-Hartman
0636b460 31f1c464

+25 -25
+6 -6
drivers/staging/rtl8712/rtl8712_cmd.h
··· 109 109 GEN_CMD_CODE(_DisconnectCtrlEx), /*61*/ 110 110 111 111 /* To do, modify these h2c cmd, add or delete */ 112 - GEN_CMD_CODE(_GetH2cLbk) , 112 + GEN_CMD_CODE(_GetH2cLbk), 113 113 114 114 /* WPS extra IE */ 115 - GEN_CMD_CODE(_SetProbeReqExtraIE) , 116 - GEN_CMD_CODE(_SetAssocReqExtraIE) , 117 - GEN_CMD_CODE(_SetProbeRspExtraIE) , 118 - GEN_CMD_CODE(_SetAssocRspExtraIE) , 115 + GEN_CMD_CODE(_SetProbeReqExtraIE), 116 + GEN_CMD_CODE(_SetAssocReqExtraIE), 117 + GEN_CMD_CODE(_SetProbeRspExtraIE), 118 + GEN_CMD_CODE(_SetAssocRspExtraIE), 119 119 120 120 /* the following is driver will do */ 121 - GEN_CMD_CODE(_GetCurDataRate) , 121 + GEN_CMD_CODE(_GetCurDataRate), 122 122 123 123 GEN_CMD_CODE(_GetTxRetrycnt), /* to record times that Tx retry to 124 124 * transmit packet after association
+1 -1
drivers/staging/rtl8712/rtl8712_event.h
··· 27 27 #define _RTL8712_EVENT_H_ 28 28 29 29 void r8712_event_handle(struct _adapter *padapter, uint *peventbuf); 30 - void r8712_got_addbareq_event_callback(struct _adapter *adapter , u8 *pbuf); 30 + void r8712_got_addbareq_event_callback(struct _adapter *adapter, u8 *pbuf); 31 31 32 32 enum rtl8712_c2h_event { 33 33 GEN_EVT_CODE(_Read_MACREG) = 0, /*0*/
+2 -2
drivers/staging/rtl8712/rtl871x_ioctl_linux.c
··· 196 196 if (p && ht_ielen > 0) { 197 197 ht_cap = true; 198 198 pht_capie = (struct ieee80211_ht_cap *)(p + 2); 199 - memcpy(&mcs_rate , pht_capie->supp_mcs_set, 2); 199 + memcpy(&mcs_rate, pht_capie->supp_mcs_set, 2); 200 200 } 201 201 /* Add the protocol name */ 202 202 iwe.cmd = SIOCGIWNAME; ··· 1436 1436 if (p && ht_ielen > 0) { 1437 1437 ht_cap = true; 1438 1438 pht_capie = (struct ieee80211_ht_cap *)(p + 2); 1439 - memcpy(&mcs_rate , pht_capie->supp_mcs_set, 2); 1439 + memcpy(&mcs_rate, pht_capie->supp_mcs_set, 2); 1440 1440 bw_40MHz = (pht_capie->cap_info & 1441 1441 IEEE80211_HT_CAP_SUP_WIDTH) ? 1 : 0; 1442 1442 short_GI = (pht_capie->cap_info &
+2 -2
drivers/staging/rtl8712/rtl871x_mlme.c
··· 93 93 return NULL; 94 94 spin_lock_irqsave(&free_queue->lock, irqL); 95 95 plist = free_queue->queue.next; 96 - pnetwork = LIST_CONTAINOR(plist , struct wlan_network, list); 96 + pnetwork = LIST_CONTAINOR(plist, struct wlan_network, list); 97 97 list_del_init(&pnetwork->list); 98 98 pnetwork->last_scanned = jiffies; 99 99 pmlmepriv->num_of_scanned++; ··· 499 499 } 500 500 501 501 /* TODO: Perry : For Power Management */ 502 - void r8712_atimdone_event_callback(struct _adapter *adapter , u8 *pbuf) 502 + void r8712_atimdone_event_callback(struct _adapter *adapter, u8 *pbuf) 503 503 { 504 504 } 505 505
+11 -11
drivers/staging/rtl8712/rtl871x_pwrctrl.h
··· 33 33 #define CMD_ALIVE BIT(2) 34 34 35 35 enum Power_Mgnt { 36 - PS_MODE_ACTIVE = 0 , 37 - PS_MODE_MIN , 38 - PS_MODE_MAX , 39 - PS_MODE_DTIM , 40 - PS_MODE_VOIP , 41 - PS_MODE_UAPSD_WMM , 42 - PS_MODE_UAPSD , 43 - PS_MODE_IBSS , 44 - PS_MODE_WWLAN , 45 - PM_Radio_Off , 46 - PM_Card_Disable , 36 + PS_MODE_ACTIVE = 0, 37 + PS_MODE_MIN, 38 + PS_MODE_MAX, 39 + PS_MODE_DTIM, 40 + PS_MODE_VOIP, 41 + PS_MODE_UAPSD_WMM, 42 + PS_MODE_UAPSD, 43 + PS_MODE_IBSS, 44 + PS_MODE_WWLAN, 45 + PM_Radio_Off, 46 + PM_Card_Disable, 47 47 PS_MODE_NUM 48 48 }; 49 49
+1 -1
drivers/staging/rtl8712/rtl871x_sta_mgt.c
··· 227 227 struct sta_info, hash_list); 228 228 plist = plist->next; 229 229 if (pbcmc_stainfo != psta) 230 - r8712_free_stainfo(padapter , psta); 230 + r8712_free_stainfo(padapter, psta); 231 231 } 232 232 } 233 233 spin_unlock_irqrestore(&pstapriv->sta_hash_lock, irqL);
+1 -1
drivers/staging/rtl8712/rtl871x_xmit.c
··· 471 471 return _SUCCESS; 472 472 } 473 473 474 - static sint make_wlanhdr(struct _adapter *padapter , u8 *hdr, 474 + static sint make_wlanhdr(struct _adapter *padapter, u8 *hdr, 475 475 struct pkt_attrib *pattrib) 476 476 { 477 477 u16 *qc;
+1 -1
drivers/staging/rtl8712/sta_info.h
··· 135 135 u32 _r8712_free_sta_priv(struct sta_priv *pstapriv); 136 136 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, 137 137 u8 *hwaddr); 138 - void r8712_free_stainfo(struct _adapter *padapter , struct sta_info *psta); 138 + void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta); 139 139 void r8712_free_all_stainfo(struct _adapter *padapter); 140 140 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr); 141 141 void r8712_init_bcmc_stainfo(struct _adapter *padapter);