* [PATCH v3] staging: rtl8723bs: remove unnecessary comparison to true @ 2026-05-06 5:03 Ashwin Gundarapu 2026-05-06 5:10 ` gregkh 0 siblings, 1 reply; 4+ messages in thread From: Ashwin Gundarapu @ 2026-05-06 5:03 UTC (permalink / raw) To: gregkh; +Cc: linux-kernel, linux-staging Remove explicit comparison to true in check_fwstate() call and add spacing around the bitwise OR operator to improve code style. Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in> --- v3: Fixed double --- line and corrected whitespace formatting as requested by Greg KH. 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)) { if ((pmlmepriv->assoc_ssid.ssid_length == ssid->ssid_length) && (!memcmp(&pmlmepriv->assoc_ssid.ssid, ssid->ssid, ssid->ssid_length))) { if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == false) { base-commit: 26fd6bff2c050196005312d1d306889220952a99 -- 2.43.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v3] staging: rtl8723bs: remove unnecessary comparison to true 2026-05-06 5:03 [PATCH v3] staging: rtl8723bs: remove unnecessary comparison to true Ashwin Gundarapu @ 2026-05-06 5:10 ` gregkh [not found] ` <85d6c003-500f-41a6-a9e1-ad83a586d694@zohomail.in> 0 siblings, 1 reply; 4+ messages in thread From: gregkh @ 2026-05-06 5:10 UTC (permalink / raw) To: Ashwin Gundarapu; +Cc: linux-kernel, linux-staging On Wed, May 06, 2026 at 10:33:02AM +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. > > Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in> > --- > v3: Fixed double --- line and corrected whitespace formatting as > requested by Greg KH. > What changed from v1? thanks, greg k-h ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <85d6c003-500f-41a6-a9e1-ad83a586d694@zohomail.in>]
[parent not found: <2026050626-blinked-armadillo-c405@gregkh>]
* Re: [PATCH v3] staging: rtl8723bs: remove unnecessary comparison to true [not found] ` <2026050626-blinked-armadillo-c405@gregkh> @ 2026-05-06 6:21 ` Ashwin Gundarapu 2026-05-06 7:14 ` gregkh 0 siblings, 1 reply; 4+ messages in thread From: Ashwin Gundarapu @ 2026-05-06 6:21 UTC (permalink / raw) To: gregkh; +Cc: linux-staging, linux-kernel On Wed, May 06, 2026 at 10:33:02AM +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. > > Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in> > --- > v3: Fixed double --- line and corrected whitespace formatting as > requested by Greg KH. Changes from v1: - v2: Resent with corrected whitespace via Thunderbird plain text mode - v3: Fixed double --- line and corrected whitespace formatting The original v1 was sent from Gmail web client which corrupted tabs to spaces. v2 attempted Thunderbird plain text. v3 fixes the double --- separator and uses Zoho webmail plain text which preserved tabs. From: gregkh <gregkh@linuxfoundation.org> To: "Ashwin Gundarapu"<linuxuser509@zohomail.in> Date: Wed, 06 May 2026 10:55:34 +0530 Subject: Re: [PATCH v3] staging: rtl8723bs: remove unnecessary comparison to true > On Wed, May 06, 2026 at 10:42:52AM +0530, Ashwin Gundarapu wrote: > > <snip> > > For some reason you sent this only to me, which is a bit rude to > everyone else on the mailing list. I'll be glad to respond if you > resend it to everyone. > > thanks, > > greg k-h > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3] staging: rtl8723bs: remove unnecessary comparison to true 2026-05-06 6:21 ` Ashwin Gundarapu @ 2026-05-06 7:14 ` gregkh 0 siblings, 0 replies; 4+ messages in thread From: gregkh @ 2026-05-06 7:14 UTC (permalink / raw) To: Ashwin Gundarapu; +Cc: linux-staging, linux-kernel On Wed, May 06, 2026 at 11:51:37AM +0530, Ashwin Gundarapu wrote: > On Wed, May 06, 2026 at 10:33:02AM +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. > > > > Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in> > > --- > > v3: Fixed double --- line and corrected whitespace formatting as > > requested by Greg KH. > > Changes from v1: > - v2: Resent with corrected whitespace via Thunderbird plain text mode > - v3: Fixed double --- line and corrected whitespace formatting > > The original v1 was sent from Gmail web client which corrupted tabs > to spaces. v2 attempted Thunderbird plain text. v3 fixes the double > --- separator and uses Zoho webmail plain text which preserved tabs. This all needs to go below the --- line. Please add it to v4 when you resend that in a day or so. Also realize you did not run your patch through checkpatch to verify that you did not add any issues with your change :( thanks, greg k-h ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-05-06 7:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 5:03 [PATCH v3] staging: rtl8723bs: remove unnecessary comparison to true Ashwin Gundarapu
2026-05-06 5:10 ` gregkh
[not found] ` <85d6c003-500f-41a6-a9e1-ad83a586d694@zohomail.in>
[not found] ` <2026050626-blinked-armadillo-c405@gregkh>
2026-05-06 6:21 ` Ashwin Gundarapu
2026-05-06 7:14 ` gregkh
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox