From: Mahad Ibrahim <mahad.ibrahim.dev@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
mahad.ibrahim.dev@gmail.com
Subject: [PATCH v3 4/5] staging: rtl8723bs: fix line length check
Date: Thu, 29 Jan 2026 21:04:25 +0500 [thread overview]
Message-ID: <20260129160426.13737-5-mahad.ibrahim.dev@gmail.com> (raw)
In-Reply-To: <20260129160426.13737-1-mahad.ibrahim.dev@gmail.com>
Fix checkpatch.pl check regarding:
- Line length of X exceeds 100 columns
Redistribute comments to multiple lines to adhere to kernel coding
standards.
Signed-off-by: Mahad Ibrahim <mahad.ibrahim.dev@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c
index b7176a992518..e428884335a8 100644
--- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c
+++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c
@@ -60,7 +60,8 @@ static bool CheckPositive(struct dm_odm_t *pDM_Odm, const u32 Condition1, const
if ((cond1 & BIT3) != 0) /* APA */
bitMask |= 0xFF000000;
- if ((cond2 & bitMask) == (driver2 & bitMask)) /* BoardType of each RF path is matched */
+ /* BoardType of each RF path is matched */
+ if ((cond2 & bitMask) == (driver2 & bitMask))
return true;
}
return false;
@@ -210,7 +211,10 @@ void ODM_ReadAndConfig_MP_8723B_MAC_REG(struct dm_odm_t *pDM_Odm)
}
if (!bMatched) {
- /* Condition isn't matched. Discard the following (offset, data) pairs. */
+ /*
+ * Condition isn't matched.
+ * Discard the following (offset, data) pairs.
+ */
while (v1 < 0x40000000 && i < ArrayLen - 2)
READ_NEXT_PAIR(v1, v2, i);
--
2.47.3
next prev parent reply other threads:[~2026-01-29 16:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-29 16:04 [PATCH v3 0/5] staging: rtl8723bs: fix line length and style issues Mahad Ibrahim
2026-01-29 16:04 ` [PATCH v3 1/5] staging: rtl8723bs: fix open parenthesis alignment Mahad Ibrahim
2026-01-29 16:04 ` [PATCH v3 2/5] staging: rtl8723bs: fix multiple blank line check Mahad Ibrahim
2026-01-29 16:04 ` [PATCH v3 3/5] staging: rtl8723bs: fix missing blank line after declaration Mahad Ibrahim
2026-01-29 16:04 ` Mahad Ibrahim [this message]
2026-01-29 16:04 ` [PATCH v3 5/5] staging: rtl8723bs: standardize comment style in HAL Mahad Ibrahim
2026-02-07 12:29 ` Greg KH
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=20260129160426.13737-5-mahad.ibrahim.dev@gmail.com \
--to=mahad.ibrahim.dev@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.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