Skip to contentSkip to conversation

staging: rtl8188eu: fix checkpatch errors.

PATCH New Konrad Zapalowicz 1 participant 3 messages Apr 18, 2014 Staging

lore
Share & tools
lore
#0 lore raw

cover staging: rtl8188eu: fix checkpatch errors.

From: Konrad M Zapalowicz <[email protected]>

This patch removes the following checkpatch errors:

rtl8188eu/core/rtw_p2p.c:
- 1508: ERROR: code indent should use tabs where possible
- 1509: ERROR: code indent should use tabs where possible
- 1510: ERROR: code indent should use tabs where possible
rtl8188eu/core/rtw_recv.c
- 1874: ERROR: code indent should use tabs where possible

Konrad M Zapalowicz (2):
staging: rtl8188eu: fix spaces instead of tabs for rtw_p2p.c
staging: rtl8188eu: fix spaces instead of tabs for rtw_recv.c

 drivers/staging/rtl8188eu/core/rtw_p2p.c  | 6 +++---
 drivers/staging/rtl8188eu/core/rtw_recv.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/2 staging: rtl8188eu: fix spaces instead of tabs for rtw_p2p.c

From: Konrad M Zapalowicz <[email protected]>

This commit fixes the following checkpatch errors:

rtl8188eu/core/rtw_p2p.c
- 1508: ERROR: code indent should use tabs where possible
- 1509: ERROR: code indent should use tabs where possible
- 1510: ERROR: code indent should use tabs where possible

Signed-off-by Konrad Zapalowicz <bergo.torino at gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_p2p.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8188eu/core/rtw_p2p.c +3 -3
index 9425c49..0a15f8c 100644
@@ -1505,9 +1505,9 @@ static void find_phase_handler(struct adapter *padapter)
 
 	rtw_p2p_set_state(pwdinfo, P2P_STATE_FIND_PHASE_SEARCH);
 
-        spin_lock_bh(&pmlmepriv->lock);
-        rtw_sitesurvey_cmd(padapter, &ssid, 1, NULL, 0);
-        spin_unlock_bh(&pmlmepriv->lock);
+	spin_lock_bh(&pmlmepriv->lock);
+	rtw_sitesurvey_cmd(padapter, &ssid, 1, NULL, 0);
+	spin_unlock_bh(&pmlmepriv->lock);
 }
 
 void p2p_concurrent_handler(struct adapter *padapter);
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 2/2 staging: rtl8188eu: fix spaces instead of tabs for rtw_recv.c

From: Konrad M Zapalowicz <[email protected]>

This commit fixes the following checkpatch errors:

rtl8188eu/core/rtw_recv.c
- 1874: ERROR: code indent should use tabs where possible

Signed-off-by Konrad Zapalowicz <bergo.torino at gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_recv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/core/rtw_recv.c +1 -1
index e305d43..5c1d2d2 100644
@@ -1871,7 +1871,7 @@ static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reor
 			return true;
 
 		prhdr = container_of(plist, struct recv_frame, list);
-	        pattrib = &prhdr->attrib;
+		pattrib = &prhdr->attrib;
 		preorder_ctrl->indicate_seq = pattrib->seq_num;
 	}
 
Signature · 1 line
1.8.1.2