Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1588265 > unrolled thread

[PATCH 0/9] drivers: staging: rtl8712 - style fix

Started byDerek Robson <robsonde@gmail.com>
First post2017-02-26 03:40 +0100
Last post2017-02-26 03:40 +0100
Articles 4 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/9] drivers: staging: rtl8712 - style fix Derek Robson <robsonde@gmail.com> - 2017-02-26 03:40 +0100
    [PATCH 6/9] Staging: rtl8712: rtl871x_pwrctrl.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-26 03:40 +0100
    [PATCH 2/9] Staging: rtl8712: rtl871x_event.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-26 03:40 +0100
    [PATCH 3/9] Staging: rtl8712: rtl871x_io.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-26 03:40 +0100

#1588265 — [PATCH 0/9] drivers: staging: rtl8712 - style fix

FromDerek Robson <robsonde@gmail.com>
Date2017-02-26 03:40 +0100
Subject[PATCH 0/9] drivers: staging: rtl8712 - style fix
Message-ID<teWUF-6v-3@gated-at.bofh.it>
Fixed style of block comments across whole of the rtl8712 driver
Found using check patch


Derek Robson (9):
  Staging: rtl8712: rtl871x_cmd.h - block comments
  Staging: rtl8712: rtl871x_event.h - style fix
  Staging: rtl8712: rtl871x_io.h - style fix
  Staging: rtl8712: rtl871x_mlme.h - style fix
  Staging: rtl8712: rtl871x_mp_ioctl.h - style fix
  Staging: rtl8712: rtl871x_pwrctrl.h - style fix
  Staging: rtl8712: rtl871x_recv.h - style fix
  Staging: rtl8712: wifi.h - style fix
  Staging: rtl8712: wlan_bssdef.h - style fix

 drivers/staging/rtl8712/rtl871x_cmd.h      |  2 +-
 drivers/staging/rtl8712/rtl871x_event.h    |  8 ++++----
 drivers/staging/rtl8712/rtl871x_io.h       | 14 ++++++-------
 drivers/staging/rtl8712/rtl871x_mlme.h     | 16 +++++++--------
 drivers/staging/rtl8712/rtl871x_mp_ioctl.h | 32 +++++++++++++++---------------
 drivers/staging/rtl8712/rtl871x_pwrctrl.h  | 10 +++++-----
 drivers/staging/rtl8712/rtl871x_recv.h     | 12 +++++------
 drivers/staging/rtl8712/wifi.h             | 12 +++++------
 drivers/staging/rtl8712/wlan_bssdef.h      |  6 +++---
 9 files changed, 56 insertions(+), 56 deletions(-)

-- 
2.11.1

[toc] | [next] | [standalone]


#1588266 — [PATCH 6/9] Staging: rtl8712: rtl871x_pwrctrl.h - style fix

FromDerek Robson <robsonde@gmail.com>
Date2017-02-26 03:40 +0100
Subject[PATCH 6/9] Staging: rtl8712: rtl871x_pwrctrl.h - style fix
Message-ID<teWUF-6v-13@gated-at.bofh.it>
In reply to#1588265
Fixed style fo block comments
Found using checkpatch

Signed-off-by: Derek Robson <robsonde@gmail.com>
---
 drivers/staging/rtl8712/rtl871x_pwrctrl.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl871x_pwrctrl.h b/drivers/staging/rtl8712/rtl871x_pwrctrl.h
index c82fdf85d474..4a873d053eea 100644
--- a/drivers/staging/rtl8712/rtl871x_pwrctrl.h
+++ b/drivers/staging/rtl8712/rtl871x_pwrctrl.h
@@ -48,11 +48,11 @@ enum Power_Mgnt {
 };
 
 /*
-	BIT[2:0] = HW state
-	BIT[3] = Protocol PS state, 0: register active state,
-				    1: register sleep state
-	BIT[4] = sub-state
-*/
+ * BIT[2:0] = HW state
+ * BIT[3] = Protocol PS state, 0: register active state,
+ *				1: register sleep state
+ * BIT[4] = sub-state
+ */
 
 #define		PS_DPS				BIT(0)
 #define		PS_LCLK				(PS_DPS)
-- 
2.11.1

[toc] | [prev] | [next] | [standalone]


#1588267 — [PATCH 2/9] Staging: rtl8712: rtl871x_event.h - style fix

FromDerek Robson <robsonde@gmail.com>
Date2017-02-26 03:40 +0100
Subject[PATCH 2/9] Staging: rtl8712: rtl871x_event.h - style fix
Message-ID<teWUF-6v-15@gated-at.bofh.it>
In reply to#1588265
Fixed style of block comments
Found using checkpatch

Signed-off-by: Derek Robson <robsonde@gmail.com>
---
 drivers/staging/rtl8712/rtl871x_event.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl871x_event.h b/drivers/staging/rtl8712/rtl871x_event.h
index 5db8620980e5..517137906e6c 100644
--- a/drivers/staging/rtl8712/rtl871x_event.h
+++ b/drivers/staging/rtl8712/rtl871x_event.h
@@ -34,7 +34,7 @@
 
 /*
  * Used to report a bss has been scanned
-*/
+ */
 struct survey_event	{
 	struct wlan_bssid_ex bss;
 };
@@ -42,7 +42,7 @@ struct survey_event	{
 /*
  * Used to report that the requested site survey has been done.
  * bss_cnt indicates the number of bss that has been reported.
-*/
+ */
 struct surveydone_event {
 	unsigned int	bss_cnt;
 
@@ -54,7 +54,7 @@ struct surveydone_event {
  *  -1: authentication fail
  *  -2: association fail
  *  > 0: TID
-*/
+ */
 struct joinbss_event {
 	struct	wlan_network	network;
 };
@@ -62,7 +62,7 @@ struct joinbss_event {
 /*
  * Used to report a given STA has joinned the created BSS.
  * It is used in AP/Ad-HoC(M) mode.
-*/
+ */
 struct stassoc_event {
 	unsigned char macaddr[6];
 	unsigned char rsvd[2];
-- 
2.11.1

[toc] | [prev] | [next] | [standalone]


#1588268 — [PATCH 3/9] Staging: rtl8712: rtl871x_io.h - style fix

FromDerek Robson <robsonde@gmail.com>
Date2017-02-26 03:40 +0100
Subject[PATCH 3/9] Staging: rtl8712: rtl871x_io.h - style fix
Message-ID<teWUG-6v-19@gated-at.bofh.it>
In reply to#1588265
Fixed style of block comments.
Found using checkpatch

Signed-off-by: Derek Robson <robsonde@gmail.com>
---
 drivers/staging/rtl8712/rtl871x_io.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl871x_io.h b/drivers/staging/rtl8712/rtl871x_io.h
index 26dd24cddd38..dd054d7367b3 100644
--- a/drivers/staging/rtl8712/rtl871x_io.h
+++ b/drivers/staging/rtl8712/rtl871x_io.h
@@ -49,9 +49,9 @@
 #define _IO_CMDMASK_	(0x1F80)
 
 /*
-	For prompt mode accessing, caller shall free io_req
-	Otherwise, io_handler will free io_req
-*/
+ *	For prompt mode accessing, caller shall free io_req
+ *	Otherwise, io_handler will free io_req
+ */
 /* IO STATUS TYPE */
 #define _IO_ERR_		BIT(2)
 #define _IO_SUCCESS_	BIT(1)
@@ -69,8 +69,8 @@
 #define IO_WR16_ASYNC	(_IO_WRITE_ | _IO_HW_)
 #define IO_WR8_ASYNC	(_IO_WRITE_ | _IO_BYTE_)
 /*
-	Only Sync. burst accessing is provided.
-*/
+ *	Only Sync. burst accessing is provided.
+ */
 #define IO_WR_BURST(x)		(IO_WRITE_ | _IO_SYNC_ | _IO_BURST_ | \
 				((x) & _IOSZ_MASK_))
 #define IO_RD_BURST(x)		(_IO_SYNC_ | _IO_BURST_ | ((x) & _IOSZ_MASK_))
@@ -218,8 +218,8 @@ struct reg_protocol_wt {
 };
 
 /*
-Below is the data structure used by _io_handler
-*/
+ * Below is the data structure used by _io_handler
+ */
 
 struct io_queue {
 	spinlock_t lock;
-- 
2.11.1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web