Skip to contentSkip to conversation

staging: rtl8723bs: fix block comment coding style

PATCH In review Adrish Bora 2 participants 2 messages Dec 14, 2025 – Dec 17, 2025 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: fix block comment coding style

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.

---
 drivers/staging/rtl8723bs/os_dep/os_intfs.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
drivers/staging/rtl8723bs/os_dep/os_intfs.c +10 -8
index 6ca6dc548805..ca841cc61076 100644
@@ -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) {
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 24 lines · 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.

---
 drivers/staging/rtl8723bs/os_dep/os_intfs.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
drivers/staging/rtl8723bs/os_dep/os_intfs.c +0 -8
index 6ca6dc548805..ca841cc61076 100644
@@ -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*/

drivers/staging/rtl8723bs/os_dep/os_intfs.c static int netdev_close(struct net_device *pnetdev) · line 946

Quoted 10 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +10 -0
+/*
+ * if (!padapter->hw_init_completed)
+ *	{
+ *
+ *		padapter->bDriverStopped = true;
+ *
+ *		rtw_dev_unload(padapter);
+ *	}
+ *	else
+ */

If this code has been commented out for a long time, please just delete it, no need to make it "pretty" with a different style of comment block.

thanks,

greg k-h