* [PATCH v6 0/2] staging: rtl8723bs: efuse signature cleanup
@ 2026-05-22 12:50 Moksh Panicker
2026-05-22 12:50 ` [PATCH v6 1/2] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature Moksh Panicker
2026-05-22 12:50 ` [PATCH v6 2/2] staging: rtl8723bs: reformat rtw_efuse_one_byte_read() signature Moksh Panicker
0 siblings, 2 replies; 4+ messages in thread
From: Moksh Panicker @ 2026-05-22 12:50 UTC (permalink / raw)
To: linux-staging; +Cc: gregkh, dan.carpenter, mokshpanicker.7
This series reformats the multi-line function signatures in
rtw_efuse.c to single lines to fix checkpatch.pl warnings.
Patch 1 also fixes missing braces on the else clause in
rtw_efuse_read_1_byte(). Both patches have been compile-tested.
Changes from v5 to v6:
1) Reduced series from 3 patches to 2 by combining the signature
reformat and brace fix for rtw_efuse_read_1_byte() — splitting
them caused a build failure between patches.
2) Compile-tested each patch individually before sending.
Moksh Panicker (2):
staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature
staging: rtl8723bs: reformat rtw_efuse_one_byte_read() signature
drivers/staging/rtl8723bs/core/rtw_efuse.c | 15 +++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v6 1/2] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature
2026-05-22 12:50 [PATCH v6 0/2] staging: rtl8723bs: efuse signature cleanup Moksh Panicker
@ 2026-05-22 12:50 ` Moksh Panicker
2026-07-07 10:13 ` Greg KH
2026-05-22 12:50 ` [PATCH v6 2/2] staging: rtl8723bs: reformat rtw_efuse_one_byte_read() signature Moksh Panicker
1 sibling, 1 reply; 4+ messages in thread
From: Moksh Panicker @ 2026-05-22 12:50 UTC (permalink / raw)
To: linux-staging; +Cc: gregkh, dan.carpenter, mokshpanicker.7
Reformat multi-line function signature to a single line to fix
line length and coding style warnings from checkpatch.pl.
Also fix the missing brace/comment spacing in rtw_efuse_read_1_byte().
Note: CamelCase identifiers (Adapter, Address) are pre-existing
in this function and not introduced by this patch.
Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_efuse.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
index 803a608b74fa..ab7486020b3f 100644
--- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
+++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
@@ -41,10 +41,7 @@ rtw_efuse_calculate_word_counts(u8 word_en)
* 09/23/2008 MHC Copy from WMAC.
*
*/
-u8
-rtw_efuse_read_1_byte(
-struct adapter *Adapter,
-u16 Address)
+u8 rtw_efuse_read_1_byte(struct adapter *Adapter, u16 Address)
{
u8 Bytetemp = {0x00};
u8 temp = {0x00};
@@ -76,9 +73,9 @@ u16 Address)
break;
}
return rtw_read8(Adapter, EFUSE_CTRL);
- } else
+ } else {
return 0xFF;
-
+ }
} /* rtw_efuse_read_1_byte */
/* 11/16/2008 MH Read one byte from real Efuse. */
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v6 2/2] staging: rtl8723bs: reformat rtw_efuse_one_byte_read() signature
2026-05-22 12:50 [PATCH v6 0/2] staging: rtl8723bs: efuse signature cleanup Moksh Panicker
2026-05-22 12:50 ` [PATCH v6 1/2] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature Moksh Panicker
@ 2026-05-22 12:50 ` Moksh Panicker
1 sibling, 0 replies; 4+ messages in thread
From: Moksh Panicker @ 2026-05-22 12:50 UTC (permalink / raw)
To: linux-staging; +Cc: gregkh, dan.carpenter, mokshpanicker.7
Reformat multi-line function signature to a single line to fix
line length and coding style warnings from checkpatch.pl.
Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_efuse.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
index ab7486020b3f..168ecb7a998f 100644
--- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
+++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
@@ -79,11 +79,7 @@ u8 rtw_efuse_read_1_byte(struct adapter *Adapter, u16 Address)
} /* rtw_efuse_read_1_byte */
/* 11/16/2008 MH Read one byte from real Efuse. */
-u8
-rtw_efuse_one_byte_read(
-struct adapter *padapter,
-u16 addr,
-u8 *data)
+u8 rtw_efuse_one_byte_read(struct adapter *padapter, u16 addr, u8 *data)
{
u32 tmpidx = 0;
u8 bResult;
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v6 1/2] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature
2026-05-22 12:50 ` [PATCH v6 1/2] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature Moksh Panicker
@ 2026-07-07 10:13 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2026-07-07 10:13 UTC (permalink / raw)
To: Moksh Panicker; +Cc: linux-staging, dan.carpenter
On Fri, May 22, 2026 at 12:50:21PM +0000, Moksh Panicker wrote:
> Reformat multi-line function signature to a single line to fix
> line length and coding style warnings from checkpatch.pl.
>
> Also fix the missing brace/comment spacing in rtw_efuse_read_1_byte().
>
> Note: CamelCase identifiers (Adapter, Address) are pre-existing
> in this function and not introduced by this patch.
>
> Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
> ---
> drivers/staging/rtl8723bs/core/rtw_efuse.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> index 803a608b74fa..ab7486020b3f 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> @@ -41,10 +41,7 @@ rtw_efuse_calculate_word_counts(u8 word_en)
> * 09/23/2008 MHC Copy from WMAC.
> *
> */
> -u8
> -rtw_efuse_read_1_byte(
> -struct adapter *Adapter,
> -u16 Address)
> +u8 rtw_efuse_read_1_byte(struct adapter *Adapter, u16 Address)
> {
> u8 Bytetemp = {0x00};
> u8 temp = {0x00};
> @@ -76,9 +73,9 @@ u16 Address)
> break;
> }
> return rtw_read8(Adapter, EFUSE_CTRL);
> - } else
> + } else {
> return 0xFF;
> -
> + }
> } /* rtw_efuse_read_1_byte */
>
> /* 11/16/2008 MH Read one byte from real Efuse. */
> --
> 2.34.1
>
Does not apply to the tree :(
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-07-07 10:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-22 12:50 [PATCH v6 0/2] staging: rtl8723bs: efuse signature cleanup Moksh Panicker
2026-05-22 12:50 ` [PATCH v6 1/2] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature Moksh Panicker
2026-07-07 10:13 ` Greg KH
2026-05-22 12:50 ` [PATCH v6 2/2] staging: rtl8723bs: reformat rtw_efuse_one_byte_read() signature Moksh Panicker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox