]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: fix open parenthesis alignment
authorMahad Ibrahim <mahad.ibrahim.dev@gmail.com>
Thu, 29 Jan 2026 16:04:22 +0000 (21:04 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2026 12:30:17 +0000 (13:30 +0100)
Fix checkpatch.pl check regarding:
- Lines should not end with a '('

Collapse the multi-line function signature of CheckPositive() into a
single line to adhere to kernel coding standards.

Signed-off-by: Mahad Ibrahim <mahad.ibrahim.dev@gmail.com>
Link: https://patch.msgid.link/20260129160426.13737-2-mahad.ibrahim.dev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c
drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c

index 5fcb9420fb3dce10e5dc9f697d45dc947ec67823..ab5af96c335ff96972b7b969c13c51da34de76ef 100644 (file)
@@ -8,9 +8,7 @@
 #include <linux/kernel.h>
 #include "odm_precomp.h"
 
-static bool CheckPositive(
-       struct dm_odm_t *pDM_Odm, const u32 Condition1, const u32 Condition2
-)
+static bool CheckPositive(struct dm_odm_t *pDM_Odm, const u32 Condition1, const u32 Condition2)
 {
        u8 _BoardType =
                ((pDM_Odm->BoardType & BIT4) >> 4) << 0 | /*  _GLNA */
index 9c07df254eaa6e18ba3206690e48e1c87a065329..ac5e3d52b3bc52c7a090ba2573d9ad3d560d5899 100644 (file)
@@ -8,9 +8,7 @@
 #include <linux/kernel.h>
 #include "odm_precomp.h"
 
-static bool CheckPositive(
-       struct dm_odm_t *pDM_Odm, const u32 Condition1, const u32 Condition2
-)
+static bool CheckPositive(struct dm_odm_t *pDM_Odm, const u32 Condition1, const u32 Condition2)
 {
        u8 _BoardType =
                ((pDM_Odm->BoardType & BIT4) >> 4) << 0 | /*  _GLNA */