]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: fix line length check
authorMahad Ibrahim <mahad.ibrahim.dev@gmail.com>
Thu, 29 Jan 2026 16:04:25 +0000 (21:04 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2026 12:30:18 +0000 (13:30 +0100)
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>
Link: https://patch.msgid.link/20260129160426.13737-5-mahad.ibrahim.dev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c

index b7176a992518c10be7086f3b435d92a723662e58..e428884335a8b8f1d0eb990e70041b46ebcd808b 100644 (file)
@@ -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);