Skip to contentSkip to conversation

staging: rtl8723bs: os_dep: Shift * to be adjacent to pointer name

PATCH New Mamta Shukla 1 participant 1 message Oct 12, 2018 1 message not in the archive Staging

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 3/3 staging: rtl8723bs: os_dep: Shift * to be adjacent to pointer name

Shift * to be adjacent to pointer name to follow Linux coding style. Issue found with checkpatch.pl
ERROR: "foo * bar" should be "foo *bar"

---
change in v2:
-Fixed corrupt patch issue by redoing it.

 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +2 -2
index 243394e..28bfdbd 100644
@@ -528,8 +528,8 @@ static int wpa_set_encryption(struct net_device *dev, struct ieee_param *param,
 	}
 
 	if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { /*  802_1x */
-		struct sta_info * psta,*pbcmc_sta;
-		struct sta_priv * pstapriv = &padapter->stapriv;
+		struct sta_info *psta, *pbcmc_sta;
+		struct sta_priv *pstapriv = &padapter->stapriv;
 
 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */
 			psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
Signature · 1 line
1.9.1