Linux kernel staging patches
 help / color / mirror / Atom feed
From: Jim Christian Haukvik <jchaukvik@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev,
	Jim Christian Haukvik <jchaukvik@gmail.com>
Subject: [PATCH] staging: r8188eu: fixed spacing code style warnings.
Date: Sun, 24 Oct 2021 13:46:58 +0200	[thread overview]
Message-ID: <20211024114658.74391-1-jchaukvik@gmail.com> (raw)

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


             reply	other threads:[~2021-10-24 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-24 11:46 Jim Christian Haukvik [this message]
2021-10-24 12:32 ` [PATCH] staging: r8188eu: fixed spacing code style warnings Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211024114658.74391-1-jchaukvik@gmail.com \
    --to=jchaukvik@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-staging@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox