linux-staging.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: r8188eu: fixed spacing code style warnings.
@ 2021-10-24 11:46 Jim Christian Haukvik
  2021-10-24 12:32 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Christian Haukvik @ 2021-10-24 11:46 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, Jim Christian Haukvik

This patch fixes some warnings reported by checkpatch.

Signed-off-by: Jim Christian Haukvik <jchaukvik@gmail.com>
---
 drivers/staging/r8188eu/core/rtw_io.c | 42 +++++++++++++--------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/drivers/staging/r8188eu/core/rtw_io.c b/drivers/staging/r8188eu/core/rtw_io.c
index cde0205816b1..5b2a421aed56 100644
--- a/drivers/staging/r8188eu/core/rtw_io.c
+++ b/drivers/staging/r8188eu/core/rtw_io.c
@@ -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.
-
-jackson@realtek.com.tw
-
-*/
+ *
+ * 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.
+ *
+ * jackson@realtek.com.tw
+ *
+ */
 
 #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;
 
-- 
2.33.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: r8188eu: fixed spacing code style warnings.
  2021-10-24 11:46 [PATCH] staging: r8188eu: fixed spacing code style warnings Jim Christian Haukvik
@ 2021-10-24 12:32 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-10-24 12:32 UTC (permalink / raw)
  To: Jim Christian Haukvik; +Cc: linux-staging

On Sun, Oct 24, 2021 at 01:46:58PM +0200, Jim Christian Haukvik wrote:
> This patch fixes some warnings reported by checkpatch.
> 
> Signed-off-by: Jim Christian Haukvik <jchaukvik@gmail.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-24 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-24 11:46 [PATCH] staging: r8188eu: fixed spacing code style warnings Jim Christian Haukvik
2021-10-24 12:32 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).