Linux kernel staging patches
 help / color / mirror / Atom feed
From: Salman Alghamdi <me@cipherat.com>
To: gregkh@linuxfoundation.org
Cc: straube.linux@gmail.com, error27@gmail.com, luka.gejak@linux.dev,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH v8 0/6] staging: rtl8723bs: rtw_mlme: line length cleanup
Date: Wed, 13 May 2026 23:34:58 +0300	[thread overview]
Message-ID: <20260513203611.31872-1-me@cipherat.com> (raw)

This series cleans up lines exceeding 100 columns in rtw_mlme.c,
along with minor readability improvements.

The two bug fix patches previously included in this series have been
split out and sent separately as standalone patches at Greg's request.

Changes since v7:
- Split bounds check fix into a separate standalone patch per Greg KH's
  review

Changes since v6:
- Split fix patch into a separate series per Greg KH's review

Changes since v5:
- Fix variable declaration ordering that broke compilation due to
  dependency on uninitialized pointer (per Luka Gejak)

Changes since v4:
- Add separate patch for rtw_sitesurvey_cmd condition simplification
  (per Dan Carpenter)
- Fix variable declaration ordering to reverse Christmas tree
- Remove roam_failed intermediate variable

Changes since v3:
- Split the line length patch into two: one for simple wrapping
  and one for variable extraction (per Dan Carpenter)
- Add a separate patch for ie_length bounds checks which were
  flagged as behavior changes
- Use umin() instead of min_t() for unsigned value capping
- Fix empty else block left after dead code removal

Changes since v2:
- fixes a pre-existing buffer over-read bug in rtw_update_protection()
  identified during review.
- address the line length cleanup, dead code removal, line consolidation,
  and readability improvements as separate atomic changes.

Salman Alghamdi (6):
  staging: rtl8723bs: rtw_mlme: wrap lines exceeding 100 columns
  staging: rtl8723bs: rtw_mlme: wrap rtw_sitesurvey_cmd condition
  staging: rtl8723bs: rtw_mlme: extract local variables for long
    expressions
  staging: rtl8723bs: rtw_mlme: remove dead commented-out code
  staging: rtl8723bs: rtw_mlme: consolidate capability comparisons lines
  staging: rtl8723bs: rtw_mlme: add blank line for readability

 drivers/staging/rtl8723bs/core/rtw_mlme.c | 260 ++++++++++++++--------
 1 file changed, 169 insertions(+), 91 deletions(-)

-- 
2.54.0


             reply	other threads:[~2026-05-13 20:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13 20:34 Salman Alghamdi [this message]
2026-05-13 20:34 ` [PATCH v8 1/6] staging: rtl8723bs: rtw_mlme: wrap lines exceeding 100 columns Salman Alghamdi
2026-05-13 20:35 ` [PATCH v8 2/6] staging: rtl8723bs: rtw_mlme: wrap rtw_sitesurvey_cmd condition Salman Alghamdi
2026-05-13 20:35 ` [PATCH v8 3/6] staging: rtl8723bs: rtw_mlme: extract local variables for long expressions Salman Alghamdi
2026-05-13 20:35 ` [PATCH v8 4/6] staging: rtl8723bs: rtw_mlme: remove dead commented-out code Salman Alghamdi
2026-05-13 20:35 ` [PATCH v8 5/6] staging: rtl8723bs: rtw_mlme: consolidate capability comparisons lines Salman Alghamdi
2026-05-13 20:35 ` [PATCH v8 6/6] staging: rtl8723bs: rtw_mlme: add blank line for readability Salman Alghamdi

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=20260513203611.31872-1-me@cipherat.com \
    --to=me@cipherat.com \
    --cc=error27@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=luka.gejak@linux.dev \
    --cc=straube.linux@gmail.com \
    /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