* [PATCH 1/3] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature
@ 2026-05-10 17:14 Moksh Panicker
2026-05-10 17:14 ` [PATCH 2/3] staging: rtl8723bs: add braces to else clause in rtw_efuse.c Moksh Panicker
2026-05-10 17:14 ` [PATCH 3/3] staging: rtl8723bs: reformat rtw_efuse_one_byte_read() signature Moksh Panicker
0 siblings, 2 replies; 3+ messages in thread
From: Moksh Panicker @ 2026-05-10 17:14 UTC (permalink / raw)
To: linux-kernel; +Cc: gregkh, devel, Moksh Panicker
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 | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
index a7a636449813..09a349c81d1e 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};
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] staging: rtl8723bs: add braces to else clause in rtw_efuse.c
2026-05-10 17:14 [PATCH 1/3] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature Moksh Panicker
@ 2026-05-10 17:14 ` Moksh Panicker
2026-05-10 17:14 ` [PATCH 3/3] staging: rtl8723bs: reformat rtw_efuse_one_byte_read() signature Moksh Panicker
1 sibling, 0 replies; 3+ messages in thread
From: Moksh Panicker @ 2026-05-10 17:14 UTC (permalink / raw)
To: linux-kernel; +Cc: gregkh, devel, Moksh Panicker
Add missing braces to the else clause to satisfy the coding style
requirement that both arms of an if/else statement use braces.
Signed-off-by: Moksh Panicker <mokshpanicker.7@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_efuse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
index 09a349c81d1e..23e736aaf8cf 100644
--- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
+++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
@@ -73,7 +73,7 @@ u8 rtw_efuse_read_1_byte(struct adapter *Adapter, u16 Address)
break;
}
return rtw_read8(Adapter, EFUSE_CTRL);
- } else
+ } else {
return 0xFF;
} /* rtw_efuse_read_1_byte */
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] staging: rtl8723bs: reformat rtw_efuse_one_byte_read() signature
2026-05-10 17:14 [PATCH 1/3] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature Moksh Panicker
2026-05-10 17:14 ` [PATCH 2/3] staging: rtl8723bs: add braces to else clause in rtw_efuse.c Moksh Panicker
@ 2026-05-10 17:14 ` Moksh Panicker
1 sibling, 0 replies; 3+ messages in thread
From: Moksh Panicker @ 2026-05-10 17:14 UTC (permalink / raw)
To: linux-kernel; +Cc: gregkh, devel, Moksh Panicker
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 23e736aaf8cf..034822be53e8 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] 3+ messages in thread
end of thread, other threads:[~2026-05-10 17:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-10 17:14 [PATCH 1/3] staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature Moksh Panicker
2026-05-10 17:14 ` [PATCH 2/3] staging: rtl8723bs: add braces to else clause in rtw_efuse.c Moksh Panicker
2026-05-10 17:14 ` [PATCH 3/3] 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