Skip to contentSkip to conversation

Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

PATCH Superseded Gangadhar V 2 participants 2 messages Dec 20, 2014 Staging

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

Fixed a Space Coding style issue which was found when running checkpatch.pl script on rtw_ap.c.

---
 drivers/staging/rtl8188eu/core/rtw_ap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/core/rtw_ap.c +1 -1
index d61842e..da19145 100644
@@ -509,7 +509,7 @@ void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level)
 		tx_ra_bitmap |= ((raid<<28)&0xf0000000);
 
 		DBG_88E("%s => mac_id:%d , raid:%d , bitmap = 0x%x, arg = 0x%x\n",
-			__func__ , psta->mac_id, raid , tx_ra_bitmap, arg);
+			__func__, psta->mac_id, raid, tx_ra_bitmap, arg);
 
 		/* bitmap[0:27] = tx_rate_bitmap */
 		/* bitmap[28:31]= Rate Adaptive id */
Signature · 1 line
1.7.9.5
#1 lore raw

Gangadhar,

It is looking better but it still needs some work :)

Be sure to add a version number to your subject line when you release a new version of your patch so reviewers know it is not an entirely new patch.

[PATCH v2]

'git format-patch' will do this automatically with the '-v' option if you are using that.

Also in the subject line, tags shouldn't include spaces. e.g. 'rtl8188eu:' not 'rtl8188eu :'.

You don't need to include the file name ('rtw_ap.c') in the subject line.

Quoted 2 lines · Gangadhar V

Fixed a Space Coding style issue which was found when running checkpatch.pl script on rtw_ap.c.

Log messages should be less than 80 characters wide. I like to use 72 so that it doesn't wrap even after several replies.

Quoted 2 lines

Is this your full legal name? Is your last name 'V'?

Quoted 9 lines
---
 drivers/staging/rtl8188eu/core/rtw_ap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/core/rtw_ap.c +0 -0
index d61842e..da19145 100644

drivers/staging/rtl8188eu/core/rtw_ap.c void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) · line 512

Quoted 5 lines
drivers/staging/rtl8188eu/core/rtw_ap.c +1 -1
@@ -509,7 +509,7 @@ void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level)
 		tx_ra_bitmap |= ((raid<<28)&0xf0000000);
 
 		DBG_88E("%s => mac_id:%d , raid:%d , bitmap = 0x%x, arg = 0x%x\n",
-			__func__ , psta->mac_id, raid , tx_ra_bitmap, arg);
+			__func__, psta->mac_id, raid, tx_ra_bitmap, arg);

This looks reasonable. There are only two checkpatch errors and you fixed them both.

Quoted 11 lines
drivers/staging/rtl8188eu/core/rtw_ap.c +0 -0
 		/* bitmap[0:27] = tx_rate_bitmap */
 		/* bitmap[28:31]= Rate Adaptive id */
Signature · 7 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Time for version 3! :)

Signature · 1 line
- Jeremiah Mahler