Skip to contentSkip to conversation

Staging: rtl8188eu: Fixed coding style issues

PATCH Superseded Tim Jester-Pfadt 2 participants 2 messages Jan 2, 2014 Staging

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtl8188eu: Fixed coding style issues

Fixed indentation coding style issues on rtw_io.c

---
 drivers/staging/rtl8188eu/core/rtw_io.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8188eu/core/rtw_io.c +2 -2
index 10c9c65..69b408e 100644
@@ -205,7 +205,7 @@ void _rtw_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem)
 
 	_func_enter_;
 	if (adapter->bDriverStopped || adapter->bSurpriseRemoved) {
-	     RT_TRACE(_module_rtl871x_io_c_, _drv_info_,
+		RT_TRACE(_module_rtl871x_io_c_, _drv_info_,
 		      ("rtw_read_mem:bDriverStopped(%d) OR bSurpriseRemoved(%d)",
 		      adapter->bDriverStopped, adapter->bSurpriseRemoved));
 	     return;
@@ -239,7 +239,7 @@ void _rtw_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem)
 	_func_enter_;
 
 	if (adapter->bDriverStopped || adapter->bSurpriseRemoved) {
-	     RT_TRACE(_module_rtl871x_io_c_, _drv_info_,
+		RT_TRACE(_module_rtl871x_io_c_, _drv_info_,
 		      ("rtw_read_port:bDriverStopped(%d) OR bSurpriseRemoved(%d)",
 		      adapter->bDriverStopped, adapter->bSurpriseRemoved));
 	     return;
Signature · 1 line
1.8.5.2
#1 lore raw
Quoted 21 lines · Tim Jester-Pfadt

Fixed indentation coding style issues on rtw_io.c

---
  drivers/staging/rtl8188eu/core/rtw_io.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8188eu/core/rtw_io.c +1 -1
index 10c9c65..69b408e 100644
@@ -205,7 +205,7 @@ void _rtw_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem)
 
  	_func_enter_;
  	if (adapter->bDriverStopped || adapter->bSurpriseRemoved) {
-	     RT_TRACE(_module_rtl871x_io_c_, _drv_info_,
+		RT_TRACE(_module_rtl871x_io_c_, _drv_info_,
  		      ("rtw_read_mem:bDriverStopped(%d) OR bSurpriseRemoved(%d)",
  		      adapter->bDriverStopped, adapter->bSurpriseRemoved));
  	     return;

drivers/staging/rtl8188eu/core/rtw_io.c void _rtw_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem) · line 245

Quoted 8 lines
drivers/staging/rtl8188eu/core/rtw_io.c +1 -1
@@ -239,7 +239,7 @@ void _rtw_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem)
  	_func_enter_;
 
  	if (adapter->bDriverStopped || adapter->bSurpriseRemoved) {
-	     RT_TRACE(_module_rtl871x_io_c_, _drv_info_,
+		RT_TRACE(_module_rtl871x_io_c_, _drv_info_,
  		      ("rtw_read_port:bDriverStopped(%d) OR bSurpriseRemoved(%d)",
  		      adapter->bDriverStopped, adapter->bSurpriseRemoved));
  	     return;

Did you run checkpatch.pl on this patch? You fixed the indents on the RT_TRACE statements, but the alignment of the continuing statements is wrong. That part was correct before.

Larry