[PATCH 2/3] staging: rtl8723bs: fix blank line style issues in rtw_io.c

Sarah Gershuni posted 3 patches 1 month, 2 weeks ago
[PATCH 2/3] staging: rtl8723bs: fix blank line style issues in rtw_io.c
Posted by Sarah Gershuni 1 month, 2 weeks ago
Fix checkpatch.pl style warnings related to blank lines:

  CHECK: Blank lines aren't necessary before a close brace '}'
  CHECK: Please use a blank line after function declarations

Adjust spacing to comply with kernel coding style.

Signed-off-by: Sarah Gershuni <sarah556726@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_io.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8723bs/core/rtw_io.c
index 7bc09a50d4dd..cc00ea80daae 100644
--- a/drivers/staging/rtl8723bs/core/rtw_io.c
+++ b/drivers/staging/rtl8723bs/core/rtw_io.c
@@ -59,7 +59,6 @@ u32 rtw_read32(struct adapter *adapter, u32 addr)
 	_read32 = pintfhdl->io_ops._read32;
 
 	return _read32(pintfhdl, addr);
-
 }
 
 int rtw_write8(struct adapter *adapter, u32 addr, u8 val)
@@ -76,6 +75,7 @@ int rtw_write8(struct adapter *adapter, u32 addr, u8 val)
 
 	return RTW_STATUS_CODE(ret);
 }
+
 int rtw_write16(struct adapter *adapter, u32 addr, u16 val)
 {
 	/* struct	io_queue	*pio_queue = (struct io_queue *)adapter->pio_queue; */
@@ -89,6 +89,7 @@ int rtw_write16(struct adapter *adapter, u32 addr, u16 val)
 	ret = _write16(pintfhdl, addr, val);
 	return RTW_STATUS_CODE(ret);
 }
+
 int rtw_write32(struct adapter *adapter, u32 addr, u32 val)
 {
 	/* struct	io_queue	*pio_queue = (struct io_queue *)adapter->pio_queue; */
-- 
2.43.0
Re: [PATCH 2/3] staging: rtl8723bs: fix blank line style issues in rtw_io.c
Posted by Ethan Tidmore 1 month, 2 weeks ago
On Thu Feb 12, 2026 at 2:23 AM CST, Sarah Gershuni wrote:
> Fix checkpatch.pl style warnings related to blank lines:
>
>   CHECK: Blank lines aren't necessary before a close brace '}'
>   CHECK: Please use a blank line after function declarations
>
> Adjust spacing to comply with kernel coding style.
>
> Signed-off-by: Sarah Gershuni <sarah556726@gmail.com>
> ---

This has already been fixed in staging-next. Please use that branch when
submitting patches to staging.

Thanks,

ET