linux-staging.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/20] rtl8723bs: cleanup and style improvements for better readability
@ 2025-07-26  4:31 Vivek BalachandharTN
  2025-07-26  4:31 ` [PATCH 01/20] staging: rtl8723bs: fix spacing around operators Vivek BalachandharTN
                   ` (20 more replies)
  0 siblings, 21 replies; 35+ messages in thread
From: Vivek BalachandharTN @ 2025-07-26  4:31 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, vivek.balachandhar

This patch series includes 20 commits that clean up and improve
the style and formatting of the rtl8723bs driver in the staging tree.
The changes address spacing issues, indentation, comment formatting,
blank lines, and minor code clarity improvements.

No functional changes are introduced. All commits adhere to the Linux kernel
coding style guidelines to enhance code readability and maintainability.

The patches have been tested and are ready for review.

Vivek BalachandharTN (20):
  staging: rtl8723bs: fix spacing around operators
  staging: rtl8723bs: remove unnecessary blank lines around braces
  staging: rtl8723bs: add blank line after function declaration
  staging: rtl8723bs: remove unnecessary space after type cast
  staging: rtl8723bs: remove space before tabs
  staging: rtl8723bs: fix overlong lines and clarify lengthy comments
  staging: rtl8723bs: align asterisk in block comment to fix formatting
  staging: rtl8723bs: fix logical continuation style by moving to
    previous line
  staging: rtl8723bs: fix indentation to align with open parenthesis
  staging: rtl8723bs: adding asterisks in multi-line block comments
  staging: rtl8723bs: remove space before semicolon
  staging: rtl8723bs: fix excessive indentation in nested if statement
  staging: rtl8723bs: fix unbalanced braces around conditional blocks
  staging: rtl8723bs: remove unnecessary parentheses around assignment
  staging: rtl8723bs: remove unnecessary braces for single statement
    blocks
  staging: rtl8723bs: add braces to all arms of conditional statement
  staging: rtl8723bs: add blank line after variable declarations
  staging: rtl8723bs: fix line ending with '('
  staging: rtl8723bs: place constant on right side of comparison
  staging: rtl8723bs: merge nested if conditions for clarity and tab
    problems

 drivers/staging/rtl8723bs/core/rtw_mlme.c | 506 ++++++++++++----------
 1 file changed, 285 insertions(+), 221 deletions(-)

-- 
2.39.5


^ permalink raw reply	[flat|nested] 35+ messages in thread
* [PATCH v1 03/20] staging: rtl8723bs: add blank line between rtw_roaming() and _rtw_roaming()
@ 2025-07-28  4:30 Vivek BalachandharTN
  0 siblings, 0 replies; 35+ messages in thread
From: Vivek BalachandharTN @ 2025-07-28  4:30 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, vivek.balachandhar

Add a blank line after the definition of rtw_roaming() to separate it from
the following function (_rtw_roaming()), improving readability and matching
kernel coding style guidelines.

No functional changes.

Identified using checkpatch.pl.

Signed-off-by: Vivek BalachandharTN <vivek.balachandhar@gmail.com>

v1: Addressed review comments from Markus Elfring on changing the 
    description of the patch regarding readability and separation between 
    function definitions.
---
 drivers/staging/rtl8723bs/core/rtw_mlme.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 24e505111f1f..b1a427a655ef 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -2449,6 +2449,7 @@ void rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network)
 	_rtw_roaming(padapter, tgt_network);
 	spin_unlock_bh(&pmlmepriv->lock);
 }
+
 void _rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network)
 {
 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
-- 
2.39.5


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

end of thread, other threads:[~2025-07-31 13:50 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-26  4:31 [PATCH 00/20] rtl8723bs: cleanup and style improvements for better readability Vivek BalachandharTN
2025-07-26  4:31 ` [PATCH 01/20] staging: rtl8723bs: fix spacing around operators Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 02/20] staging: rtl8723bs: remove unnecessary blank lines around braces Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 03/20] staging: rtl8723bs: add blank line after function declaration Vivek BalachandharTN
2025-07-28  4:36   ` [PATCH v1 03/20] staging: rtl8723bs: add blank line between rtw_roaming() and _rtw_roaming() Vivek BalachandharTN
2025-07-30  4:04     ` [PATCH v2 " Vivek BalachandharTN
2025-07-30  4:20       ` [PATCH v3 " Vivek BalachandharTN
2025-07-30  7:32         ` [PATCH v4 " Vivek BalachandharTN
2025-07-30 19:06         ` Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 04/20] staging: rtl8723bs: remove unnecessary space after type cast Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 05/20] staging: rtl8723bs: remove space before tabs Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 06/20] staging: rtl8723bs: fix overlong lines and clarify lengthy comments Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 07/20] staging: rtl8723bs: align asterisk in block comment to fix formatting Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 08/20] staging: rtl8723bs: fix logical continuation style by moving to previous line Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 09/20] staging: rtl8723bs: fix indentation to align with open parenthesis Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 10/20] staging: rtl8723bs: adding asterisks in multi-line block comments Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 11/20] staging: rtl8723bs: remove space before semicolon Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 12/20] staging: rtl8723bs: fix excessive indentation in nested if statement Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 13/20] staging: rtl8723bs: fix unbalanced braces around conditional blocks Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 14/20] staging: rtl8723bs: remove unnecessary parentheses around assignment Vivek BalachandharTN
2025-07-28  6:35   ` [PATCH v1 14/20] staging: rtl8723bs: remove unnecessary parentheses in conditional Vivek BalachandharTN
2025-07-28  6:43     ` [PATCH v2 " Vivek BalachandharTN
2025-07-30  8:03       ` [PATCH v3 " Vivek BalachandharTN
2025-07-30 18:39         ` [PATCH " Vivek BalachandharTN
2025-07-30 18:42         ` [PATCH v4 " Vivek BalachandharTN
2025-07-31  1:57         ` Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 15/20] staging: rtl8723bs: remove unnecessary braces for single statement blocks Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 16/20] staging: rtl8723bs: add braces to all arms of conditional statement Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 17/20] staging: rtl8723bs: add blank line after variable declarations Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 18/20] staging: rtl8723bs: fix line ending with '(' Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 19/20] staging: rtl8723bs: place constant on right side of comparison Vivek BalachandharTN
2025-07-26  4:32 ` [PATCH 20/20] staging: rtl8723bs: merge nested if conditions for clarity and tab problems Vivek BalachandharTN
2025-07-31  5:29 ` [PATCH 00/20] rtl8723bs: cleanup and style improvements for better readability Greg KH
2025-07-31 13:50   ` Feedback on Patch Submissions Vivek BalachandharTN
  -- strict thread matches above, loose matches on Subject: below --
2025-07-28  4:30 [PATCH v1 03/20] staging: rtl8723bs: add blank line between rtw_roaming() and _rtw_roaming() Vivek BalachandharTN

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).