Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH v2 0/4] staging: rtl8723bs: coding style fixes
@ 2026-01-09 11:04 Nayana Mariyappa
  2026-01-11 13:02 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 11+ messages in thread
From: Nayana Mariyappa @ 2026-01-09 11:04 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-staging, linux-kernel, Nayana Mariyappa

This is a series of 4 small coding style fixes for rtl8723bs. Each patch is
self-contained and focuses on a single logical change, as requested.

Changes since v1:
- Split the original patch into 4 separate patches.
- Each patch now fixes one coding style issue.

Patches in this series:

1/4 staging: rtl8723bs: fix block comment style
2/4 staging: rtl8723bs: remove extra blank lines
3/4 staging: rtl8723bs: add blank lines after declarations
4/4 staging: rtl8723bs: expand multiple assignment into separate statements

Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>

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

* Re: [PATCH v2 0/4] staging: rtl8723bs: coding style fixes
  2026-01-09 11:04 Nayana Mariyappa
@ 2026-01-11 13:02 ` Greg Kroah-Hartman
       [not found]   ` <CAN1kxfyz5K9kUVY3yFCKYdaQHuED-oNCBWCcLL+bT7YQ_VVXRQ@mail.gmail.com>
  0 siblings, 1 reply; 11+ messages in thread
From: Greg Kroah-Hartman @ 2026-01-11 13:02 UTC (permalink / raw)
  To: Nayana Mariyappa; +Cc: linux-staging, linux-kernel

On Fri, Jan 09, 2026 at 11:04:16AM +0000, Nayana Mariyappa wrote:
> This is a series of 4 small coding style fixes for rtl8723bs. Each patch is
> self-contained and focuses on a single logical change, as requested.
> 
> Changes since v1:
> - Split the original patch into 4 separate patches.
> - Each patch now fixes one coding style issue.
> 
> Patches in this series:
> 
> 1/4 staging: rtl8723bs: fix block comment style
> 2/4 staging: rtl8723bs: remove extra blank lines
> 3/4 staging: rtl8723bs: add blank lines after declarations
> 4/4 staging: rtl8723bs: expand multiple assignment into separate statements
> 
> Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>
> 

Something went wrong with this submission, it seems to be broken up into
two "series".  Here's how it looks in my inbox:

      T Jan 09 Nayana Mariyapp (  16) [PATCH v2 0/4] staging: rtl8723bs: coding style fixes
      T Jan 09 Nayana Mariyapp (  31) └─>[PATCH v2 1/4] staging: rtl8723bs: fix block comment style
      T Jan 09 Nayana Mariyapp (  25) [PATCH v2 2/4] staging: rtl8723bs: remove extra blank lines
      T Jan 09 Nayana Mariyapp (  27) ├─>[PATCH v2 4/4] staging: rtl8723bs: expand multiple assignment into separate statements
      T Jan 09 Nayana Mariyapp (  25) └─>[PATCH v2 3/4] staging: rtl8723bs: add blank lines after declarations

And this also mirrors what shows up on lore.kernel.org:
	https://lore.kernel.org/r/20260109110417.16359-1-nayana.mariyappa@gmail.com

Can you fix up your git send-email settings to send these all out at once to
properly be linked together?

Thanks,

greg k-h


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

* [PATCH v2 0/4] staging: rtl8723bs: coding style fixes
@ 2026-01-12  4:34 Nayana Mariyappa
  2026-01-12  4:34 ` [PATCH v2 1/4] staging: rtl8723bs: fix block comment style Nayana Mariyappa
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Nayana Mariyappa @ 2026-01-12  4:34 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-staging, Nayana Mariyappa

This is a series of 4 small coding style fixes for rtl8723bs. Each patch is
self-contained and focuses on a single logical change, as requested.

Changes since v1:
- Split the original patch into 4 separate patches.
- Each patch now fixes one coding style issue.

Patches in this series:

1/4 staging: rtl8723bs: fix block comment style
2/4 staging: rtl8723bs: remove extra blank lines
3/4 staging: rtl8723bs: add blank lines after declarations
4/4 staging: rtl8723bs: expand multiple assignment into separate statements

Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>

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

* [PATCH v2 1/4] staging: rtl8723bs: fix block comment style
  2026-01-12  4:34 [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Nayana Mariyappa
@ 2026-01-12  4:34 ` Nayana Mariyappa
  2026-01-12  9:32   ` Greg KH
  2026-01-12  4:34 ` [PATCH v2 2/4] staging: rtl8723bs: remove extra blank lines Nayana Mariyappa
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Nayana Mariyappa @ 2026-01-12  4:34 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-staging, Nayana Mariyappa

Fixed multi-line block comments in osdep_service.c to follow kernel
coding style.
No functional change.

Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/osdep_service.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index a00f9f0c85c5..8f6dd3560303 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -6,10 +6,10 @@
  ******************************************************************************/
 #include <drv_types.h>
 
-/*
-* Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE
-* @return: one of RTW_STATUS_CODE
-*/
+/**
+ * Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE
+ * @return: one of RTW_STATUS_CODE
+ */
 inline int RTW_STATUS_CODE(int error_code)
 {
 	if (error_code >= 0)
-- 
2.43.0


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

* [PATCH v2 2/4] staging: rtl8723bs: remove extra blank lines
  2026-01-12  4:34 [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Nayana Mariyappa
  2026-01-12  4:34 ` [PATCH v2 1/4] staging: rtl8723bs: fix block comment style Nayana Mariyappa
@ 2026-01-12  4:34 ` Nayana Mariyappa
  2026-01-12  4:34 ` [PATCH v2 3/4] staging: rtl8723bs: add blank lines after declarations Nayana Mariyappa
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Nayana Mariyappa @ 2026-01-12  4:34 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-staging, Nayana Mariyappa

Removed unnecessary blank lines in osdep_service.c and related files
to follow kernel coding style.
No functional change.

Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/osdep_service.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index 8f6dd3560303..c9be4dc63598 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -152,7 +152,6 @@ void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len)
 		kfree(ori);
 }
 
-
 /**
  * rtw_cbuf_full - test if cbuf is full
  * @cbuf: pointer of struct rtw_cbuf
-- 
2.43.0


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

* [PATCH v2 3/4] staging: rtl8723bs: add blank lines after declarations
  2026-01-12  4:34 [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Nayana Mariyappa
  2026-01-12  4:34 ` [PATCH v2 1/4] staging: rtl8723bs: fix block comment style Nayana Mariyappa
  2026-01-12  4:34 ` [PATCH v2 2/4] staging: rtl8723bs: remove extra blank lines Nayana Mariyappa
@ 2026-01-12  4:34 ` Nayana Mariyappa
  2026-01-12  4:34 ` [PATCH v2 4/4] staging: rtl8723bs: expand multiple assignment into separate statements Nayana Mariyappa
  2026-01-12  9:33 ` [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Greg KH
  4 siblings, 0 replies; 11+ messages in thread
From: Nayana Mariyappa @ 2026-01-12  4:34 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-staging, Nayana Mariyappa

Added blank lines after variable declarations in osdep_service.c and related
files to improve readability and follow kernel coding style.
No functional change.

Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/osdep_service.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index c9be4dc63598..c490de437bf1 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -203,6 +203,7 @@ bool rtw_cbuf_push(struct rtw_cbuf *cbuf, void *buf)
 void *rtw_cbuf_pop(struct rtw_cbuf *cbuf)
 {
 	void *buf;
+
 	if (rtw_cbuf_empty(cbuf))
 		return NULL;
 
-- 
2.43.0


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

* [PATCH v2 4/4] staging: rtl8723bs: expand multiple assignment into separate statements
  2026-01-12  4:34 [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Nayana Mariyappa
                   ` (2 preceding siblings ...)
  2026-01-12  4:34 ` [PATCH v2 3/4] staging: rtl8723bs: add blank lines after declarations Nayana Mariyappa
@ 2026-01-12  4:34 ` Nayana Mariyappa
  2026-01-12  9:33 ` [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Greg KH
  4 siblings, 0 replies; 11+ messages in thread
From: Nayana Mariyappa @ 2026-01-12  4:34 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-staging, Nayana Mariyappa

Split multiple assignments in a single line into separate statements in
osdep_service.c to follow kernel coding style.
No functional change.

Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/osdep_service.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index c490de437bf1..c082a0359064 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -226,7 +226,8 @@ struct rtw_cbuf *rtw_cbuf_alloc(u32 size)
 	cbuf = rtw_malloc(struct_size(cbuf, bufs, size));
 
 	if (cbuf) {
-		cbuf->write = cbuf->read = 0;
+		cbuf->write = 0;
+		cbuf->read = 0;
 		cbuf->size = size;
 	}
 
-- 
2.43.0


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

* Re: [PATCH v2 1/4] staging: rtl8723bs: fix block comment style
  2026-01-12  4:34 ` [PATCH v2 1/4] staging: rtl8723bs: fix block comment style Nayana Mariyappa
@ 2026-01-12  9:32   ` Greg KH
  0 siblings, 0 replies; 11+ messages in thread
From: Greg KH @ 2026-01-12  9:32 UTC (permalink / raw)
  To: Nayana Mariyappa; +Cc: linux-kernel, linux-staging

On Mon, Jan 12, 2026 at 04:34:26AM +0000, Nayana Mariyappa wrote:
> Fixed multi-line block comments in osdep_service.c to follow kernel
> coding style.
> No functional change.
> 
> Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>
> ---
>  drivers/staging/rtl8723bs/os_dep/osdep_service.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> index a00f9f0c85c5..8f6dd3560303 100644
> --- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> +++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> @@ -6,10 +6,10 @@
>   ******************************************************************************/
>  #include <drv_types.h>
>  
> -/*
> -* Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE
> -* @return: one of RTW_STATUS_CODE
> -*/
> +/**

Nit, this shouldn't be /**, but rather /* as before, as this is not a
valid kernel doc comment.

If you want to turn it into a kernel-doc statement, like I think
checkpatch is warning you about, then please do so, with the full
function name and arguments documented.  But I really doubt this is
needed at all, but rather this can just be a one line comment instead.

thanks,

greg k-h

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

* Re: [PATCH v2 0/4] staging: rtl8723bs: coding style fixes
       [not found]       ` <CAN1kxfyv7MBC4yWs1X6cO549pu2MisPqudyC0Cx7NzJFmrDUXA@mail.gmail.com>
@ 2026-01-12  9:33         ` Greg Kroah-Hartman
  0 siblings, 0 replies; 11+ messages in thread
From: Greg Kroah-Hartman @ 2026-01-12  9:33 UTC (permalink / raw)
  To: Nayana Mariyappa; +Cc: linux-staging, linux-kernel

On Mon, Jan 12, 2026 at 02:56:11PM +0530, Nayana Mariyappa wrote:
> On Mon, Jan 12, 2026 at 12:19 PM Greg Kroah-Hartman <
> gregkh@linuxfoundation.org> wrote:
> > For some reason you sent this only to me, which is a bit rude to
> > everyone else on the mailing list.  I'll be glad to respond if you
> > resend it to everyone.
> >
> > Also, do not top-post.
> 
> 
> Apologies for that -- this was unintentional.
> 
> I realized the issue was that the cover letter and patches were sent
> in multiple git send-email invocations. I have now resent the full
> series (0000–0004) in a single git send-email command, and it is visible
> on LKML/lore with proper threading.
> Sorry for the noise, and thanks for the guidance.

Great, but note, html emails are rejected by the lists :)

I've responded to one of your patches already, you'll need a new series.
And the one you just sent should have been v3, not v2, right?  So the
new one will be v4?

thanks,

greg k-h

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

* Re: [PATCH v2 0/4] staging: rtl8723bs: coding style fixes
  2026-01-12  4:34 [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Nayana Mariyappa
                   ` (3 preceding siblings ...)
  2026-01-12  4:34 ` [PATCH v2 4/4] staging: rtl8723bs: expand multiple assignment into separate statements Nayana Mariyappa
@ 2026-01-12  9:33 ` Greg KH
  2026-01-12 10:48   ` Nayana Mariyappa
  4 siblings, 1 reply; 11+ messages in thread
From: Greg KH @ 2026-01-12  9:33 UTC (permalink / raw)
  To: Nayana Mariyappa; +Cc: linux-kernel, linux-staging

On Mon, Jan 12, 2026 at 04:34:25AM +0000, Nayana Mariyappa wrote:
> This is a series of 4 small coding style fixes for rtl8723bs. Each patch is
> self-contained and focuses on a single logical change, as requested.
> 
> Changes since v1:
> - Split the original patch into 4 separate patches.
> - Each patch now fixes one coding style issue.
> 
> Patches in this series:
> 
> 1/4 staging: rtl8723bs: fix block comment style
> 2/4 staging: rtl8723bs: remove extra blank lines
> 3/4 staging: rtl8723bs: add blank lines after declarations
> 4/4 staging: rtl8723bs: expand multiple assignment into separate statements
> 
> Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>
> 

This should have been v3, right?

thanks,

greg k-h

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

* Re: [PATCH v2 0/4] staging: rtl8723bs: coding style fixes
  2026-01-12  9:33 ` [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Greg KH
@ 2026-01-12 10:48   ` Nayana Mariyappa
  0 siblings, 0 replies; 11+ messages in thread
From: Nayana Mariyappa @ 2026-01-12 10:48 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, linux-staging

On Mon, Jan 12, 2026 at 3:03 PM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Mon, Jan 12, 2026 at 04:34:25AM +0000, Nayana Mariyappa wrote:
> > This is a series of 4 small coding style fixes for rtl8723bs. Each patch is
> > self-contained and focuses on a single logical change, as requested.
> >
> > Changes since v1:
> > - Split the original patch into 4 separate patches.
> > - Each patch now fixes one coding style issue.
> >
> > Patches in this series:
> >
> > 1/4 staging: rtl8723bs: fix block comment style
> > 2/4 staging: rtl8723bs: remove extra blank lines
> > 3/4 staging: rtl8723bs: add blank lines after declarations
> > 4/4 staging: rtl8723bs: expand multiple assignment into separate statements
> >
> > Signed-off-by: Nayana Mariyappa <nayana.mariyappa@gmail.com>
> >
>
> This should have been v3, right?
>
> thanks,
>
> greg k-h

Hi Greg,

You are correct, this should have been v3.

The non-kernel-doc comment was previously addressed as a separate
patch based on the kernel test robot report.
As part of this v4 series, that change has now been merged into the
0001 patch, so the separate bug-fix patch is retired.

All patches are sent together in a single series with proper threading
on LKML/lore.

Thanks,
Nayana Mariyappa

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

end of thread, other threads:[~2026-01-12 10:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-12  4:34 [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Nayana Mariyappa
2026-01-12  4:34 ` [PATCH v2 1/4] staging: rtl8723bs: fix block comment style Nayana Mariyappa
2026-01-12  9:32   ` Greg KH
2026-01-12  4:34 ` [PATCH v2 2/4] staging: rtl8723bs: remove extra blank lines Nayana Mariyappa
2026-01-12  4:34 ` [PATCH v2 3/4] staging: rtl8723bs: add blank lines after declarations Nayana Mariyappa
2026-01-12  4:34 ` [PATCH v2 4/4] staging: rtl8723bs: expand multiple assignment into separate statements Nayana Mariyappa
2026-01-12  9:33 ` [PATCH v2 0/4] staging: rtl8723bs: coding style fixes Greg KH
2026-01-12 10:48   ` Nayana Mariyappa
  -- strict thread matches above, loose matches on Subject: below --
2026-01-09 11:04 Nayana Mariyappa
2026-01-11 13:02 ` Greg Kroah-Hartman
     [not found]   ` <CAN1kxfyz5K9kUVY3yFCKYdaQHuED-oNCBWCcLL+bT7YQ_VVXRQ@mail.gmail.com>
     [not found]     ` <2026011236-drank-monopoly-916a@gregkh>
     [not found]       ` <CAN1kxfyv7MBC4yWs1X6cO549pu2MisPqudyC0Cx7NzJFmrDUXA@mail.gmail.com>
2026-01-12  9:33         ` Greg Kroah-Hartman

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