From: Andrei Khomenkov <khomenkov@mailbox.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev
Subject: [PATCH v6 4/8] staging: rtl8723bs: add spaces around bitwise OR operators
Date: Mon, 27 Apr 2026 20:58:42 +0300 [thread overview]
Message-ID: <20260427175846.23470-5-khomenkov@mailbox.org> (raw)
In-Reply-To: <20260427175846.23470-1-khomenkov@mailbox.org>
Add spaces around bitwise OR operators to improve code readability
and conform to the Linux kernel coding style. This fixes the
SPACING issues identified by checkpatch.pl.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org>
---
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 2 +-
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 69b63098a6a2..f870e6c1f209 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -513,7 +513,7 @@ unsigned int OnProbeReq(struct adapter *padapter, union recv_frame *precv_frame)
return _SUCCESS;
if (!check_fwstate(pmlmepriv, _FW_LINKED) &&
- !check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_AP_STATE)) {
+ !check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE | WIFI_AP_STATE)) {
return _SUCCESS;
}
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
index aa469fe57ba8..f8ba55e22638 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
@@ -998,7 +998,7 @@ void rtl8723b_SetBeaconRelatedRegisters(struct adapter *padapter)
rtw_write32(padapter, REG_TCR, value32);
/* NOTE: Fix test chip's bug (about contention windows's randomness) */
- if (check_fwstate(&padapter->mlmepriv, WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE|WIFI_AP_STATE)) {
+ if (check_fwstate(&padapter->mlmepriv, WIFI_ADHOC_STATE | WIFI_ADHOC_MASTER_STATE | WIFI_AP_STATE)) {
rtw_write8(padapter, REG_RXTSF_OFFSET_CCK, 0x50);
rtw_write8(padapter, REG_RXTSF_OFFSET_OFDM, 0x50);
}
--
2.53.0
next prev parent 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 [PATCH v6 0/8] staging: rtl8723bs: simplify booleans and cleanup style Andrei Khomenkov
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 ` Andrei Khomenkov [this message]
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-5-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