Skip to contentSkip to conversation

Staging: rtl8723au: core: Add space after '>'

PATCH In review Hatice ERTÜRK 2 participants 2 messages Feb 23, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtl8723au: core: Add space after '>'

This Error found with checkpatch.pl

ERROR: spaces required around that '>'

---
 drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723au/core/rtw_xmit.c +1 -1
index d851675..32fbf022 100644
@@ -1200,7 +1200,7 @@ int rtw_xmitframe_coalesce23a(struct rtw_adapter *padapter, struct sk_buff *skb,
 		pdata += mem_sz;
 		data_len -= mem_sz;
 
-		if ((pattrib->icv_len >0) && (pattrib->bswenc)) {
+		if ((pattrib->icv_len > 0) && (pattrib->bswenc)) {
 			memcpy(pframe, pattrib->icv, pattrib->icv_len);
 			pframe += pattrib->icv_len;
 		}
Signature · 1 line
1.9.1
#1 lore raw
Quoted 14 lines · Hatice ERTÜRK

This Error found with checkpatch.pl

ERROR: spaces required around that '>'

---
 drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723au/core/rtw_xmit.c +0 -0
index d851675..32fbf022 100644

drivers/staging/rtl8723au/core/rtw_xmit.c int rtw_xmitframe_coalesce23a(struct rtw_adapter *padapter, struct sk_buff *skb, · line 1203

Quoted 5 lines
drivers/staging/rtl8723au/core/rtw_xmit.c +1 -1
@@ -1200,7 +1200,7 @@ int rtw_xmitframe_coalesce23a(struct rtw_adapter *padapter, struct sk_buff *skb,
 		pdata += mem_sz;
 		data_len -= mem_sz;
 
-		if ((pattrib->icv_len >0) && (pattrib->bswenc)) {
+		if ((pattrib->icv_len > 0) && (pattrib->bswenc)) {

Please provide a personalized commit message, and you can also remove the unnecessary parenthesis' here.

Cheers,
Jes

Quoted 4 lines
drivers/staging/rtl8723au/core/rtw_xmit.c +0 -0
 			memcpy(pframe, pattrib->icv, pattrib->icv_len);
 			pframe += pattrib->icv_len;
 		}