Skip to contentSkip to conversation

Staging: rtl8723au: core: rtw_ieee80211: Fixed a coding style Warning.

PATCH In review Rakhi Sharma 2 participants 2 messages Feb 2, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 5/5 Staging: rtl8723au: core: rtw_ieee80211: Fixed a coding style Warning.

Fixed a braces style warning.
Warning: braces {} are not necessary for single statement blocks.

---
Changes in v2:
- remove a blank line. To make it readable.

---
 drivers/staging/rtl8723au/core/rtw_ieee80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723au/core/rtw_ieee80211.c +1 -1
index 365f780..55a5078 100644
@@ -177,8 +177,8 @@ u8 *rtw_get_ie23a(u8 *pbuf, int index, int *len, int limit)
 	u8 *p;
 
 	if (limit < 1)
-
 		return NULL;
+
 	p = pbuf;
 	i = 0;
 	*len = 0;
Signature · 1 line
1.9.1
#1 lore raw

Hi Rakhi,

Quoted 16 lines · Rakhi Sharma

Fixed a braces style warning.
Warning: braces {} are not necessary for single statement blocks.

---
Changes in v2:
- remove a blank line. To make it readable.

---
 drivers/staging/rtl8723au/core/rtw_ieee80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723au/core/rtw_ieee80211.c +0 -0
index 365f780..55a5078 100644

drivers/staging/rtl8723au/core/rtw_ieee80211.c u8 *rtw_get_ie23a(u8 *pbuf, int index, int *len, int limit) · line 181

Quoted 6 lines
drivers/staging/rtl8723au/core/rtw_ieee80211.c +1 -1
@@ -177,8 +177,8 @@ u8 *rtw_get_ie23a(u8 *pbuf, int index, int *len, int limit)
        u8 *p;
 
        if (limit < 1)
-
                return NULL;
+

This looks line an incremental patch on top of your original one.

You need to resubmit the original patch with this change incorporated.

Thanks,

Signature · 4 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/