public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: remove spaces before tabs in hal_com.c
@ 2026-03-25 23:55 MrXploisLite
  2026-03-26 18:13 ` Ethan Tidmore
  0 siblings, 1 reply; 3+ messages in thread
From: MrXploisLite @ 2026-03-25 23:55 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, MrXploisLite

Fix checkpatch warning 'please, no space before tabs' in comment blocks.
This change removes spaces that precede tab characters in three comment
lines within the _TwoOutPipeMapping and _ThreeOutPipeMapping functions.

No functional change, only whitespace cleanup to comply with kernel
coding style.

Signed-off-by: MrXploisLite <arokigaming@gmail.com>
---
 drivers/staging/rtl8723bs/hal/hal_com.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c
index 1298ab2e5..b045bad4c 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com.c
@@ -359,7 +359,7 @@ static void _TwoOutPipeMapping(struct adapter *padapter, bool bWIFICfg)
 
 	if (bWIFICfg) { /* WMM */
 
-		/* 	BK,	BE,	VI,	VO,	BCN,	CMD, MGT, HIGH, HCCA */
+		/*	BK,	BE,	VI,	VO,	BCN,	CMD, MGT, HIGH, HCCA */
 		/*   0,		1,	0,	1,	0,	0,	0,	0,		0	}; */
 		/* 0:ep_0 num, 1:ep_1 num */
 
@@ -400,7 +400,7 @@ static void _ThreeOutPipeMapping(struct adapter *padapter, bool bWIFICfg)
 
 	if (bWIFICfg) { /* for WMM */
 
-		/* 	BK,	BE,	VI,	VO,	BCN,	CMD, MGT, HIGH, HCCA */
+		/*	BK,	BE,	VI,	VO,	BCN,	CMD, MGT, HIGH, HCCA */
 		/*   1,		2,	1,	0,	0,	0,	0,	0,		0	}; */
 		/* 0:H, 1:N, 2:L */
 
@@ -417,7 +417,7 @@ static void _ThreeOutPipeMapping(struct adapter *padapter, bool bWIFICfg)
 	} else { /* typical setting */
 
 
-		/* 	BK,	BE,	VI,	VO,	BCN,	CMD, MGT, HIGH, HCCA */
+		/*	BK,	BE,	VI,	VO,	BCN,	CMD, MGT, HIGH, HCCA */
 		/*   2,		2,	1,	0,	0,	0,	0,	0,		0	}; */
 		/* 0:H, 1:N, 2:L */
 
-- 
2.53.0


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

* Re: [PATCH] staging: rtl8723bs: remove spaces before tabs in hal_com.c
  2026-03-25 23:55 [PATCH] staging: rtl8723bs: remove spaces before tabs in hal_com.c MrXploisLite
@ 2026-03-26 18:13 ` Ethan Tidmore
  2026-03-27  8:03   ` Dan Carpenter
  0 siblings, 1 reply; 3+ messages in thread
From: Ethan Tidmore @ 2026-03-26 18:13 UTC (permalink / raw)
  To: MrXploisLite, gregkh; +Cc: linux-staging, linux-kernel

On Wed Mar 25, 2026 at 6:55 PM CDT, MrXploisLite wrote:
> Fix checkpatch warning 'please, no space before tabs' in comment blocks.
> This change removes spaces that precede tab characters in three comment
> lines within the _TwoOutPipeMapping and _ThreeOutPipeMapping functions.
>
> No functional change, only whitespace cleanup to comply with kernel
> coding style.
>
> Signed-off-by: MrXploisLite <arokigaming@gmail.com>
> ---

I believe this has been NACKed in the past. This is just changing
whitespace in a comment, it doesn't really "improve" anything.

Thanks,

ET

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

* Re: [PATCH] staging: rtl8723bs: remove spaces before tabs in hal_com.c
  2026-03-26 18:13 ` Ethan Tidmore
@ 2026-03-27  8:03   ` Dan Carpenter
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Carpenter @ 2026-03-27  8:03 UTC (permalink / raw)
  To: Ethan Tidmore; +Cc: MrXploisLite, gregkh, linux-staging, linux-kernel

On Thu, Mar 26, 2026 at 01:13:25PM -0500, Ethan Tidmore wrote:
> On Wed Mar 25, 2026 at 6:55 PM CDT, MrXploisLite wrote:
> > Fix checkpatch warning 'please, no space before tabs' in comment blocks.
> > This change removes spaces that precede tab characters in three comment
> > lines within the _TwoOutPipeMapping and _ThreeOutPipeMapping functions.
> >
> > No functional change, only whitespace cleanup to comply with kernel
> > coding style.
> >
> > Signed-off-by: MrXploisLite <arokigaming@gmail.com>
> > ---
> 
> I believe this has been NACKed in the past. This is just changing
> whitespace in a comment, it doesn't really "improve" anything.
> 

Huh.  I can't believe you remember conversations from 2 months ago.  I
had to look it up.  I did NAK this patch, but the reason for that is
the the alignment is wrong before and after the patch.  It should be
something like:

		/*   BK,   BE,   VI,   VO,  BCN,  CMD,  MGT, HIGH, HCCA */
		/*    0,    1,    0,    1,    0,    0,    0,    0,    0 */
		/* 0:ep_0 num, 1:ep_1 num */

So the HCCA column header is over the last zero.

Although, looking at it now, we could just delete the comment.  I think
it was copy and pasted in during development so the author didn't have to
switch windows back and forth when they were implementing the code.  I
don't think it was supposed to be in the released code since it doesn't
add any new information.

pdvobjpriv->Queue2Pipe[0] = pdvobjpriv->RtOutPipe[1];/* VO */
The 1 here matches the VO column.                 ^     ^^

Check that everything is implemented correctly and then just delete
these comments.

regards,
dan carpenter


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

end of thread, other threads:[~2026-03-27  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 23:55 [PATCH] staging: rtl8723bs: remove spaces before tabs in hal_com.c MrXploisLite
2026-03-26 18:13 ` Ethan Tidmore
2026-03-27  8:03   ` Dan Carpenter

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