linux-staging.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Vivek BalachandharTN <vivek.balachandhar@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	vivek.balachandhar@gmail.com
Subject: [PATCH v3 07/15] staging: rtl8723bs: adding asterisks in multi-line block comments
Date: Mon, 29 Sep 2025 06:49:52 +0000	[thread overview]
Message-ID: <20250929065000.1010848-8-vivek.balachandhar@gmail.com> (raw)
In-Reply-To: <20250929065000.1010848-1-vivek.balachandhar@gmail.com>

Format multi-line block comments with leading asterisks

Add leading asterisks (*) on each line of multi-line block comments,
in accordance with kernel coding style. This improves consistency
and readability of the comments.

No functional changes.

Signed-off-by: Vivek BalachandharTN <vivek.balachandhar@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_mlme.c | 33 ++++++++++++-----------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 19bf6bb360f9..ab626c88e7dd 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -217,10 +217,10 @@ void _rtw_free_network_nolock(struct	mlme_priv *pmlmepriv, struct wlan_network *
 }
 
 /*
-	return the wlan_network with the matching addr
-
-	Shall be called under atomic context... to avoid possible racing condition...
-*/
+ *	return the wlan_network with the matching addr
+ *
+ *	Shall be called under atomic context... to avoid possible racing condition...
+ */
 struct wlan_network *_rtw_find_network(struct __queue *scanned_queue, u8 *addr)
 {
 	struct list_head	*phead, *plist;
@@ -322,10 +322,10 @@ void rtw_free_network_nolock(struct adapter *padapter, struct wlan_network *pnet
 }
 
 /*
-	return the wlan_network with the matching addr
-
-	Shall be called under atomic context... to avoid possible racing condition...
-*/
+ *	return the wlan_network with the matching addr
+ *
+ *	Shall be called under atomic context... to avoid possible racing condition...
+ */
 struct	wlan_network *rtw_find_network(struct __queue *scanned_queue, u8 *addr)
 {
 	struct	wlan_network *pnetwork = _rtw_find_network(scanned_queue, addr);
@@ -489,8 +489,8 @@ static void update_current_network(struct adapter *adapter, struct wlan_bssid_ex
 }
 
 /*
-Caller must hold pmlmepriv->lock first.
-*/
+ * Caller must hold pmlmepriv->lock first.
+ */
 void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *target)
 {
 	struct list_head	*plist, *phead;
@@ -523,7 +523,8 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t
 	}
 
 	/* If we didn't find a match, then get a new network slot to initialize
-	 * with this beacon's information */
+	 * with this beacon's information
+	 */
 	if (!target_find) {
 		if (list_empty(&pmlmepriv->free_bss_pool.queue)) {
 			/* If there are no more slots, expire the oldest */
@@ -1891,11 +1892,11 @@ static int rtw_check_join_candidate(struct mlme_priv *mlme
 }
 
 /*
-Calling context:
-The caller of the sub-routine will be in critical section...
-The caller must hold the following spinlock
-pmlmepriv->lock
-*/
+ * Calling context:
+ * The caller of the sub-routine will be in critical section...
+ * The caller must hold the following spinlock
+ * pmlmepriv->lock
+ */
 
 int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv)
 {
-- 
2.39.5


  parent reply	other threads:[~2025-09-29  6:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-29  6:49 [PATCH v3 00/15] rtl8723bs: cleanup and style improvements for better readability Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 01/15] staging: rtl8723bs: fix spacing around operators Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 02/15] staging: rtl8723bs: remove unnecessary space after type cast Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 03/15] staging: rtl8723bs: fix overlong lines to conform with kernel coding style Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 04/15] staging: rtl8723bs: align asterisk in block comment to fix formatting Vivek BalachandharTN
2025-09-29  6:58   ` Greg KH
2025-09-30  8:29     ` Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 05/15] staging: rtl8723bs: fix logical continuation style by moving to previous line Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 06/15] staging: rtl8723bs: fix indentation to align with open parenthesis Vivek BalachandharTN
2025-09-29  6:49 ` Vivek BalachandharTN [this message]
2025-09-29  6:49 ` [PATCH v3 08/15] staging: rtl8723bs: remove space before semicolon Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 09/15] staging: rtl8723bs: fix excessive indentation in nested if statement Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 10/15] staging: rtl8723bs: fix unbalanced braces around conditional blocks Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 11/15] staging: rtl8723bs: remove unnecessary parentheses in conditional Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 12/15] staging: rtl8723bs: add braces to all arms of conditional statement Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 13/15] staging: rtl8723bs: fix line ending with '(' Vivek BalachandharTN
2025-09-29  6:49 ` [PATCH v3 14/15] staging: rtl8723bs: place constant on right side of comparison Vivek BalachandharTN
2025-09-29  6:50 ` [PATCH v3 15/15] staging: rtl8723bs: merge nested if conditions for clarity and tab problems Vivek BalachandharTN

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=20250929065000.1010848-8-vivek.balachandhar@gmail.com \
    --to=vivek.balachandhar@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).