Skip to contentSkip to conversation

staging: r8188eu: fixed spacing code style warnings.

PATCH In review Jim Christian Haukvik 2 participants 2 messages Oct 24, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: r8188eu: fixed spacing code style warnings.

This patch fixes some warnings reported by checkpatch.

---
 drivers/staging/r8188eu/core/rtw_io.c | 42 +++++++++++++--------------
 1 file changed, 21 insertions(+), 21 deletions(-)
drivers/staging/r8188eu/core/rtw_io.c +21 -21
index cde0205816b1..5b2a421aed56 100644
@@ -2,25 +2,25 @@
 /* Copyright(c) 2007 - 2011 Realtek Corporation. */
 
 /*
-
-The purpose of rtw_io.c
-
-a. provides the API
-
-b. provides the protocol engine
-
-c. provides the software interface between caller and the hardware interface
-
-Compiler Flag Option:
-
-USB:
-   a. USE_ASYNC_IRP: Both sync/async operations are provided.
-
-Only sync read/rtw_write_mem operations are provided.
-
-[email protected]
-
-*/
+ *
+ * The purpose of rtw_io.c
+ *
+ * a. provides the API
+ *
+ * b. provides the protocol engine
+ *
+ * c. provides the software interface between caller and the hardware interface
+ *
+ * Compiler Flag Option:
+ *
+ * USB:
+ *	a. USE_ASYNC_IRP: Both sync/async operations are provided.
+ *
+ * Only sync read/rtw_write_mem operations are provided.
+ *
+ * [email protected]
+ *
+ */
 
 #define _RTW_IO_C_
 #include "../include/osdep_service.h"
@@ -183,7 +183,7 @@ void _rtw_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem)
 
 
 	if (adapter->bDriverStopped || adapter->bSurpriseRemoved)
-	     return;
+		return;
 	_read_mem = pintfhdl->io_ops._read_mem;
 	_read_mem(pintfhdl, addr, cnt, pmem);
 
@@ -213,7 +213,7 @@ void _rtw_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem)
 
 
 	if (adapter->bDriverStopped || adapter->bSurpriseRemoved)
-	     return;
+		return;
 
 	_read_port = pintfhdl->io_ops._read_port;
 
Signature · 1 line
2.33.1
maintainer
#1 lore raw
Quoted 6 lines · Jim Christian Haukvik

This patch fixes some warnings reported by checkpatch.

---
 drivers/staging/r8188eu/core/rtw_io.c | 42 +++++++++++++--------------
 1 file changed, 21 insertions(+), 21 deletions(-)

This file is not in my tree. What tree/branch did you make this against? Always work against linux-next so that you do not duplicate work already done by others.

thanks,

greg k-h