public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Luka Gejak <luka.gejak@linux.dev>
To: Andrei Khomenkov <khomenkov@mailbox.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev, luka.gejak@linux.dev,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH v2 0/2] staging: rtl8723bs: cleanup code and style
Date: Mon, 30 Mar 2026 22:23:32 +0200	[thread overview]
Message-ID: <84E92547-BFA1-4854-80C8-2726CA0ADD37@linux.dev> (raw)
In-Reply-To: <20260330184640.17795-1-khomenkov@mailbox.org>

On March 30, 2026 8:46:37 PM GMT+02:00, Andrei Khomenkov <khomenkov@mailbox.org> wrote:
>This series of patches cleans up the rtl8723bs driver code to improve
>readability and better align with the Linux kernel coding style.
>The first patch simplifies boolean comparisons, while the second one
>performs general code cleanup.
>
>Link: https://lore.kernel.org/linux-staging/20260325110143.35466-1-khomenkov@mailbox.org/
>
>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 (2):
>  staging: rtl8723bs: simplify boolean comparisons
>  staging: rtl8723bs: cleanup code style and parentheses
>
> drivers/staging/rtl8723bs/core/rtw_ap.c       |  2 +-
> drivers/staging/rtl8723bs/core/rtw_btcoex.c   |  4 +-
> .../staging/rtl8723bs/core/rtw_ieee80211.c    |  2 +-
> .../staging/rtl8723bs/core/rtw_ioctl_set.c    | 50 ++++++-------
> drivers/staging/rtl8723bs/core/rtw_mlme.c     | 18 ++---
> drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 16 ++---
> drivers/staging/rtl8723bs/core/rtw_recv.c     | 72 +++++++++----------
> drivers/staging/rtl8723bs/core/rtw_sta_mgt.c  |  2 +-
> .../staging/rtl8723bs/core/rtw_wlan_util.c    | 18 ++---
> drivers/staging/rtl8723bs/core/rtw_xmit.c     | 37 +++++-----
> 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           |  8 +--
> .../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   | 10 +--
> .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 13 ++--
> .../staging/rtl8723bs/hal/rtl8723bs_recv.c    |  2 +-
> .../staging/rtl8723bs/hal/rtl8723bs_xmit.c    |  6 +-
> drivers/staging/rtl8723bs/hal/sdio_halinit.c  |  6 +-
> .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 51 ++++++-------
> .../staging/rtl8723bs/os_dep/sdio_ops_linux.c |  4 +-
> drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 13 ++--
> 26 files changed, 194 insertions(+), 198 deletions(-)
>

Hi Andrei,

Thanks for v2 of the patch series.
These changes correctly simplify the boolean logic across the 
rtl8723bs driver and bring the code into alignment with the Linux 
kernel coding style. I have verified that the logic remains 
functionally identical.
This is a solid cleanup for the staging tree.
So for the patch series:
Reviewed-by: Luka Gejak <luka.gejak@linux.dev>

Best regards,
Luka Gejak

  parent reply	other threads:[~2026-03-30 20:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-30 18:46 [PATCH v2 0/2] staging: rtl8723bs: cleanup code and style Andrei Khomenkov
2026-03-30 18:46 ` [PATCH v2 1/2] staging: rtl8723bs: simplify boolean comparisons Andrei Khomenkov
2026-03-31 22:13   ` Ethan Tidmore
2026-04-01  8:18   ` Dan Carpenter
2026-03-30 18:46 ` [PATCH v2 2/2] staging: rtl8723bs: cleanup code style and parentheses Andrei Khomenkov
2026-03-31  8:39   ` Greg Kroah-Hartman
2026-04-01  8:22   ` Dan Carpenter
2026-03-30 20:23 ` Luka Gejak [this message]
2026-03-31 11:06 ` [PATCH v2 0/2] staging: rtl8723bs: cleanup code and style Luka Gejak

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=84E92547-BFA1-4854-80C8-2726CA0ADD37@linux.dev \
    --to=luka.gejak@linux.dev \
    --cc=gregkh@linuxfoundation.org \
    --cc=khomenkov@mailbox.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