public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: fix block comment coding style
@ 2025-12-28 19:44 Ofir Mirovsky
  2025-12-28 19:45 ` [PATCH] staging: rtl8723bs: remove unnecessary blank lines Ofir Mirovsky
  0 siblings, 1 reply; 6+ messages in thread
From: Ofir Mirovsky @ 2025-12-28 19:44 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, Ofir Mirovsky

Fix block comment coding style issues in rtl8723b_rf6052.c reported by checkpatch.pl:
- "Block comments should align the * on each line"
- "Block comments use a trailing */ on a separate line"

Reformat the comment block to adhere to standard kernel coding style.

Signed-off-by: Ofir Mirovsky <ofirmirovsky@gmail.com>
---
 drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c b/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
index ffb35e1ac..f10120d34 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c
@@ -24,7 +24,7 @@
  * 11/05/2008	MHC		Add API for tw power setting.
  *
  *
-******************************************************************************/
+ ******************************************************************************/
 
 #include <rtl8723b_hal.h>
 
@@ -40,7 +40,7 @@
 /*  2008/11/20 MH For Debug only, RF */
 /*------------------------Define local variable------------------------------*/
 
-/*-----------------------------------------------------------------------------
+/*
  * Function:    PHY_RF6052SetBandwidth()
  *
  * Overview:    This function is called by SetBWModeCallback8190Pci() only
@@ -53,7 +53,7 @@
  * Return:      NONE
  *
  * Note:		For RF type 0222D
- *---------------------------------------------------------------------------*/
+ */
 void PHY_RF6052SetBandwidth8723B(
 	struct adapter *Adapter, enum channel_width Bandwidth
 ) /* 20M or 40M */
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH] staging: rtl8723bs: Fix block comment coding style
@ 2025-12-15  4:01 Zixuan Dong
  2025-12-15  6:04 ` Dan Carpenter
  0 siblings, 1 reply; 6+ messages in thread
From: Zixuan Dong @ 2025-12-15  4:01 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, straube.linux, Zixuan Dong

Fix the following checkpatch warnings in os_intfs.c:

  WARNING: Block comments use * on subsequent lines
  WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Zixuan Dong <dbeidachazi@foxmail.com>
---
 drivers/staging/rtl8723bs/os_dep/os_intfs.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index 6ca6dc548805..cd81d9e4a3d2 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -934,14 +934,16 @@ static int netdev_close(struct net_device *pnetdev)
 	padapter->net_closed = true;
 	padapter->netif_up = false;
 
-/*if (!padapter->hw_init_completed)
-	{
-
-		padapter->bDriverStopped = true;
-
-		rtw_dev_unload(padapter);
-	}
-	else*/
+/*
+ * if (!padapter->hw_init_completed)
+ * {
+ *
+ *	padapter->bDriverStopped = true;
+ *
+ *	rtw_dev_unload(padapter);
+ * }
+ * else
+ */
 	if (pwrctl->rf_pwrstate == rf_on) {
 		/* s1. */
 		if (pnetdev) {
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH] staging: rtl8723bs: fix block comment coding style
@ 2025-12-14 14:26 Adrish Bora
  2025-12-17 13:06 ` Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Adrish Bora @ 2025-12-14 14:26 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, straube.linux, Adrish Bora

Fix the block comment style in os_intfs.c to match the kernel coding style.
The comment was previously lacking the required asterisks on subsequent lines.

Signed-off-by: Adrish Bora <adrishbora@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/os_intfs.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index 6ca6dc548805..ca841cc61076 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -934,14 +934,16 @@ static int netdev_close(struct net_device *pnetdev)
 	padapter->net_closed = true;
 	padapter->netif_up = false;
 
-/*if (!padapter->hw_init_completed)
-	{
-
-		padapter->bDriverStopped = true;
-
-		rtw_dev_unload(padapter);
-	}
-	else*/
+/*
+ * if (!padapter->hw_init_completed)
+ *	{
+ *
+ *		padapter->bDriverStopped = true;
+ *
+ *		rtw_dev_unload(padapter);
+ *	}
+ *	else
+ */
 	if (pwrctl->rf_pwrstate == rf_on) {
 		/* s1. */
 		if (pnetdev) {
-- 
2.43.0


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

end of thread, other threads:[~2025-12-28 19:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-28 19:44 [PATCH] staging: rtl8723bs: fix block comment coding style Ofir Mirovsky
2025-12-28 19:45 ` [PATCH] staging: rtl8723bs: remove unnecessary blank lines Ofir Mirovsky
  -- strict thread matches above, loose matches on Subject: below --
2025-12-15  4:01 [PATCH] staging: rtl8723bs: Fix block comment coding style Zixuan Dong
2025-12-15  6:04 ` Dan Carpenter
2025-12-14 14:26 [PATCH] staging: rtl8723bs: fix " Adrish Bora
2025-12-17 13:06 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox