The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/1] staging: rtl8723bs: Fix checkpatch line length warnings in xmit_linux.c
@ 2026-05-12 18:52 Pramod Maurya
  2026-05-12 18:52 ` [PATCH 1/1] staging: rtl8723bs: Fix line length " Pramod Maurya
  0 siblings, 1 reply; 2+ messages in thread
From: Pramod Maurya @ 2026-05-12 18:52 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, andriy.shevchenko, pramod.nexgen

This series fixes line length violations in the rtl8723bs staging driver
reported by checkpatch.pl. The two function signatures
rtw_os_xmit_resource_alloc() and rtw_os_xmit_resource_free() each exceeded
the 100 column limit. A long N_BYTE_ALIGMENT() expression was also wrapped
to comply with the limit.

Pramod Maurya (1):
  staging: rtl8723bs: Fix line length in xmit_linux.c

 drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] staging: rtl8723bs: Fix line length in xmit_linux.c
  2026-05-12 18:52 [PATCH 0/1] staging: rtl8723bs: Fix checkpatch line length warnings in xmit_linux.c Pramod Maurya
@ 2026-05-12 18:52 ` Pramod Maurya
  0 siblings, 0 replies; 2+ messages in thread
From: Pramod Maurya @ 2026-05-12 18:52 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, andriy.shevchenko, pramod.nexgen

Wrap long function signatures and a long expression to comply
with the 100 column line length limit reported by checkpatch.pl.

Signed-off-by: Pramod Maurya <pramod.nexgen@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
index dc0b77f38b1a..1c53b7bc00c5 100644
--- a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
+++ b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
@@ -46,20 +46,25 @@ signed int rtw_endofpktfile(struct pkt_file *pfile)
 	return false;
 }
 
-int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u8 flag)
+int rtw_os_xmit_resource_alloc(struct adapter *padapter,
+			       struct xmit_buf *pxmitbuf,
+			       u32 alloc_sz, u8 flag)
 {
 	if (alloc_sz > 0) {
 		pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL);
 		if (!pxmitbuf->pallocated_buf)
 			return _FAIL;
 
-		pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ);
+		pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)pxmitbuf->pallocated_buf,
+							XMITBUF_ALIGN_SZ);
 	}
 
 	return _SUCCESS;
 }
 
-void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz, u8 flag)
+void rtw_os_xmit_resource_free(struct adapter *padapter,
+			       struct xmit_buf *pxmitbuf,
+			       u32 free_sz, u8 flag)
 {
 	if (free_sz > 0)
 		kfree(pxmitbuf->pallocated_buf);
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-12 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 18:52 [PATCH 0/1] staging: rtl8723bs: Fix checkpatch line length warnings in xmit_linux.c Pramod Maurya
2026-05-12 18:52 ` [PATCH 1/1] staging: rtl8723bs: Fix line length " Pramod Maurya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox