From: Greg KH <gregkh@linuxfoundation.org>
To: Ashwin Gundarapu <linuxuser509@zohomail.in>
Cc: linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev
Subject: Re: [PATCH v2] staging: rtl8723bs: remove unnecessary comparison to true
Date: Tue, 5 May 2026 13:03:51 +0200 [thread overview]
Message-ID: <2026050500-twitch-unblock-7897@gregkh> (raw)
In-Reply-To: <f14818bb-0d1a-45c3-93c3-17505571b071@zohomail.in>
On Tue, May 05, 2026 at 04:13:54PM +0530, Ashwin Gundarapu wrote:
> Remove explicit comparison to true in check_fwstate() call and
> add spacing around the bitwise OR operator to improve code style.
>
> ---
>
> v2: Resent with corrected whitespace via Thunderbird plain text mode.
This goes below the --- line below. There should not be a --- line in
the middle of the changelog.
>
> Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in>
> ---
> drivers/staging/rtl8723bs/core/rtw_ioctl_set.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c
> b/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c
> index c70541f95a73..c100a0d70fe2 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_ioctl_set.c
> @@ -151,7 +151,8 @@ u8 rtw_set_802_11_ssid(struct adapter *padapter, struct
> ndis_802_11_ssid *ssid)
> else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true)
> goto release_mlme_lock;
>
> - if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) ==
> true) {
> + if (check_fwstate(pmlmepriv,
> + _FW_LINKED | WIFI_ADHOC_MASTER_STATE)) {
again, your patch is corrupted, and you ignored my previous review
comments.
Please relax, take a few days, fix up your email client and test it out
by sending a patch to yourself, and then send a new version. There is
no rush here.
thanks,
greg k-h
prev parent reply other threads:[~2026-05-05 11:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-05 10:43 [PATCH v2] staging: rtl8723bs: remove unnecessary comparison to true Ashwin Gundarapu
2026-05-05 11:03 ` Greg KH [this message]
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=2026050500-twitch-unblock-7897@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=linuxuser509@zohomail.in \
/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