public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Andrei Khomenkov <khomenkov@mailbox.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev
Subject: [PATCH v6 0/8] staging: rtl8723bs: simplify booleans and cleanup style
Date: Mon, 27 Apr 2026 20:58:38 +0300	[thread overview]
Message-ID: <20260427175846.23470-1-khomenkov@mailbox.org> (raw)

This series of patches simplifies comparisons in if-statements
and fixes some checkpatch.pl CHECKs and WARNINGs.

Link: https://lore.kernel.org/linux-staging/20260421220058.29317-1-khomenkov@mailbox.org/

v6:
 - Reorganized the series following Greg K-H's feedback: split
   boolean cleanups by subdirectory and separated style fixes
   by issue type.

v5:
 - Split logical and stylistic changes into a separate atomic
   series, following Dan Carpenter's advice on simplifying
   boolean comparisons.

v4:
 - Combined logic and style cleanups into single commits to
   avoid fragmented changes, as suggested by Dan Carpenter.

v3:
 - Split the commits into smaller parts, each focusing on a
   single directory.

v2:
 - Split the single patch into a two-patch series to separate 
   logical changes, as suggested by Luka Gejak.
 - Cleaned up additional boolean comparisons found using
   'git grep'.

Andrei Khomenkov (8):
  staging: rtl8723bs: core: simplify boolean comparisons
  staging: rtl8723bs: hal: simplify boolean comparisons
  staging: rtl8723bs: os_dep: simplify boolean comparisons
  staging: rtl8723bs: add spaces around bitwise OR operators
  staging: rtl8723bs: remove redundant braces for single-statement block
  staging: rtl8723bs: move logical operators to previous line
  staging: rtl8723bs: fix alignment of continued conditions
  staging: rtl8723bs: wrap lines exceeding 100 characters

 drivers/staging/rtl8723bs/core/rtw_ap.c       |  2 +-
 drivers/staging/rtl8723bs/core/rtw_btcoex.c   |  2 +-
 drivers/staging/rtl8723bs/core/rtw_cmd.c      |  2 +-
 .../staging/rtl8723bs/core/rtw_ieee80211.c    |  2 +-
 .../staging/rtl8723bs/core/rtw_ioctl_set.c    | 54 ++++++-------
 drivers/staging/rtl8723bs/core/rtw_mlme.c     | 16 ++--
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 16 ++--
 drivers/staging/rtl8723bs/core/rtw_recv.c     | 79 ++++++++++---------
 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c  |  2 +-
 .../staging/rtl8723bs/core/rtw_wlan_util.c    | 18 ++---
 drivers/staging/rtl8723bs/core/rtw_xmit.c     | 35 ++++----
 drivers/staging/rtl8723bs/hal/hal_btcoex.c    | 10 +--
 drivers/staging/rtl8723bs/hal/hal_com.c       |  4 +-
 .../staging/rtl8723bs/hal/hal_com_phycfg.c    |  4 +-
 drivers/staging/rtl8723bs/hal/hal_intf.c      |  4 +-
 drivers/staging/rtl8723bs/hal/odm.c           | 13 ++-
 .../staging/rtl8723bs/hal/odm_CfoTracking.c   |  2 +-
 drivers/staging/rtl8723bs/hal/odm_DIG.c       | 32 ++++----
 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c  |  2 +-
 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c   | 14 ++--
 .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 13 +--
 .../staging/rtl8723bs/hal/rtl8723bs_recv.c    |  2 +-
 .../staging/rtl8723bs/hal/rtl8723bs_xmit.c    |  8 +-
 drivers/staging/rtl8723bs/hal/sdio_halinit.c  |  6 +-
 .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 53 +++++++------
 .../staging/rtl8723bs/os_dep/sdio_ops_linux.c |  4 +-
 drivers/staging/rtl8723bs/os_dep/xmit_linux.c |  2 +-
 27 files changed, 197 insertions(+), 204 deletions(-)

-- 
2.53.0


             reply	other threads:[~2026-04-27 17:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-27 17:58 Andrei Khomenkov [this message]
2026-04-27 17:58 ` [PATCH v6 1/8] staging: rtl8723bs: core: simplify boolean comparisons Andrei Khomenkov
2026-04-27 17:58 ` [PATCH v6 2/8] staging: rtl8723bs: hal: " Andrei Khomenkov
2026-04-27 17:58 ` [PATCH v6 3/8] staging: rtl8723bs: os_dep: " Andrei Khomenkov
2026-04-27 17:58 ` [PATCH v6 4/8] staging: rtl8723bs: add spaces around bitwise OR operators Andrei Khomenkov
2026-04-27 17:58 ` [PATCH v6 5/8] staging: rtl8723bs: remove redundant braces for single-statement block Andrei Khomenkov
2026-04-27 17:58 ` [PATCH v6 6/8] staging: rtl8723bs: move logical operators to previous line Andrei Khomenkov
2026-04-27 17:58 ` [PATCH v6 7/8] staging: rtl8723bs: fix alignment of continued conditions Andrei Khomenkov
2026-04-27 17:58 ` [PATCH v6 8/8] staging: rtl8723bs: wrap lines exceeding 100 characters Andrei Khomenkov

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=20260427175846.23470-1-khomenkov@mailbox.org \
    --to=khomenkov@mailbox.org \
    --cc=gregkh@linuxfoundation.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