Skip to contentSkip to conversation

staging: rtl8188eu: Fix one coding style problem

PATCH In review Remco Verhoef 2 participants 5 messages May 10, 2017 – May 15, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8188eu: Fix one coding style problem

Fix code indent should use tabs where possible coding style error.

---
 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c +1 -1
index d9fa290..636f445 100644
@@ -58,7 +58,7 @@ static void process_link_qual(struct adapter *padapter,
 }
 
 void rtl8188e_process_phy_info(struct adapter *padapter,
-		               struct recv_frame *precvframe)
+			struct recv_frame *precvframe)
 {
 	/*  Check RSSI */
 	process_rssi(padapter, precvframe);
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Remco Verhoef

Fix code indent should use tabs where possible coding style error.

Your subject should be a bit better, why, "one"?

please fix and resend.

thanks,

greg k-h

#2 lore raw

PATCH v2 1/1 staging: rtl8188eu: fix indentation error

Fixes a 'code indent should use tabs where possible' checkpatch code style error by changing whitespace into tabs.

---
Changes in v2:
- More expressive commit message and subject

 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c +1 -1
index d9fa290..636f445 100644
@@ -58,7 +58,7 @@ static void process_link_qual(struct adapter *padapter,
 }
 
 void rtl8188e_process_phy_info(struct adapter *padapter,
-		               struct recv_frame *precvframe)
+			struct recv_frame *precvframe)
 {
 	/*  Check RSSI */
 	process_rssi(padapter, precvframe);
Signature · 1 line
1.9.1
#3 lore raw

Re: [PATCH v2] staging: rtl8188eu: fix indentation error

Quoted 16 lines · Remco Verhoef

Fixes a 'code indent should use tabs where possible' checkpatch code style error by changing whitespace into tabs.

---
Changes in v2:
- More expressive commit message and subject

 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c +0 -0
index d9fa290..636f445 100644

drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c static void process_link_qual(struct adapter *padapter, · line 61

Quoted 5 lines
drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c +1 -1
@@ -58,7 +58,7 @@ static void process_link_qual(struct adapter *padapter,
 }
 
 void rtl8188e_process_phy_info(struct adapter *padapter,
-		               struct recv_frame *precvframe)
+			struct recv_frame *precvframe)

Try putting this right under the other "struct" string, to line things up better.

thanks,

greg k-h

#4 lore raw

PATCH v3 1/1 staging: rtl8188eu: fix indentation error

Fixes a 'code indent should use tabs where possible' checkpatch code style error by changing whitespace into tabs.

---
Changes in v2:
- More expressive commit message and subject
Changes in v3:
- Align with struct, to line things up better

 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c +1 -1
index d9fa290..9f51f54 100644
@@ -58,7 +58,7 @@ static void process_link_qual(struct adapter *padapter,
 }
 
 void rtl8188e_process_phy_info(struct adapter *padapter,
-		               struct recv_frame *precvframe)
+			       struct recv_frame *precvframe)
 {
 	/*  Check RSSI */
 	process_rssi(padapter, precvframe);
Signature · 1 line
1.9.1