lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260124104920.5721-1-tehsiu.huang@gmail.com>
Date: Sat, 24 Jan 2026 02:49:18 -0800
From: Michael Huang <tehsiu.huang@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-staging@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Michael Huang <tehsiu.huang@...il.com>
Subject: [PATCH v4 0/2] staging: rtl8723bs: cleanup and indentation refactoring

This series improves the code quality and readability of rtw_mlme_ext.c
in the rtl8723bs driver.

The first patch refactors several deeply nested loops and if-statements
by using guard clauses (continue statements). This flattens the logic
and makes the code easier to follow.

The second patch addresses various style issues reported by
checkpatch.pl, including line length exceeding 100 columns,
unnecessary parentheses, and unnecessary braces.

---
Changes in v4:
- Corrected the patch format by moving the changelog below the "---" line
  in individual patches as requested by the automated bot.
- This version (v4) serves as the initial clean public submission.

Changes in v3:
- Split changes into a logical two-patch series.
- Fixed commit message line wrapping (75 chars).
- Added missing Signed-off-by tags.
- Fixed line length and alignment issues in the code.

Michael Huang (2):
  staging: rtl8723bs: refactor nested loops to reduce indentation
  staging: rtl8723bs: fix line length and coding style issues

 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 142 ++++++++++--------
 1 file changed, 80 insertions(+), 62 deletions(-)

--
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ