public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH v2] staging: rtl8723bs: Remove trailing whitespace
@ 2025-04-02 12:42 Gabriel Shahrouzi
  2025-04-03 14:20 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel Shahrouzi @ 2025-04-02 12:42 UTC (permalink / raw)
  To: linux-staging
  Cc: philipp.g.hortmann, eamanu, linux-kernel, kernelmentees, skhan,
	gregkh, Gabriel Shahrouzi

Remove trailing whitespace to comply with kernel coding style.

Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
---
Changes in v2:
	- Resend using git send-email to fix formatting issues in email body.
---
 drivers/staging/rtl8723bs/include/hal_pwr_seq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git drivers/staging/rtl8723bs/include/hal_pwr_seq.h drivers/staging/rtl8723bs/include/hal_pwr_seq.h
index b93d74a5b9a5..48bf7f66a06e 100644
--- drivers/staging/rtl8723bs/include/hal_pwr_seq.h
+++ drivers/staging/rtl8723bs/include/hal_pwr_seq.h
@@ -209,7 +209,7 @@
 #define RTL8723B_TRANS_END															\
 	/* format */																\
 	/* { offset, cut_msk, fab_msk|interface_msk, base|cmd, msk, value }, comments here*/								\
-	{0xFFFF, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, 0, PWR_CMD_END, 0, 0}, 
+	{0xFFFF, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, 0, PWR_CMD_END, 0, 0},
 
 
 extern struct wlan_pwr_cfg rtl8723B_power_on_flow[RTL8723B_TRANS_CARDEMU_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS];
-- 
2.43.0


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

* Re: [PATCH v2] staging: rtl8723bs: Remove trailing whitespace
  2025-04-02 12:42 [PATCH v2] staging: rtl8723bs: Remove trailing whitespace Gabriel Shahrouzi
@ 2025-04-03 14:20 ` Greg KH
  2025-04-04  3:03   ` Gabriel
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2025-04-03 14:20 UTC (permalink / raw)
  To: Gabriel Shahrouzi
  Cc: linux-staging, philipp.g.hortmann, eamanu, linux-kernel,
	kernelmentees, skhan

On Wed, Apr 02, 2025 at 08:42:07AM -0400, Gabriel Shahrouzi wrote:
> Remove trailing whitespace to comply with kernel coding style.
> 
> Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> ---
> Changes in v2:
> 	- Resend using git send-email to fix formatting issues in email body.
> ---
>  drivers/staging/rtl8723bs/include/hal_pwr_seq.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git drivers/staging/rtl8723bs/include/hal_pwr_seq.h drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> index b93d74a5b9a5..48bf7f66a06e 100644
> --- drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> +++ drivers/staging/rtl8723bs/include/hal_pwr_seq.h

This wasn't made with git, was it?  You are "one" indent level off, the
diff should say:

--- a/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
+++ b/drivers/staging/rtl8723bs/include/hal_pwr_seq.h

here, right?

Anyway, because of that, this does not apply to the tree at all :(

Please fix and send a v3.

thanks,

greg k-h

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

* Re: [PATCH v2] staging: rtl8723bs: Remove trailing whitespace
  2025-04-03 14:20 ` Greg KH
@ 2025-04-04  3:03   ` Gabriel
  2025-04-04  3:15     ` Gabriel
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel @ 2025-04-04  3:03 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-staging, philipp.g.hortmann, eamanu, linux-kernel,
	kernelmentees, skhan

On Thu, Apr 3, 2025 at 10:22 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Wed, Apr 02, 2025 at 08:42:07AM -0400, Gabriel Shahrouzi wrote:
> > Remove trailing whitespace to comply with kernel coding style.
> >
> > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > ---
> > Changes in v2:
> >       - Resend using git send-email to fix formatting issues in the email body.
> > ---
> >  drivers/staging/rtl8723bs/include/hal_pwr_seq.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git drivers/staging/rtl8723bs/include/hal_pwr_seq.h drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > index b93d74a5b9a5..48bf7f66a06e 100644
> > --- drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > +++ drivers/staging/rtl8723bs/include/hal_pwr_seq.h
>
> This wasn't made with git, was it?  You are "one" indent level off, the
> diff should say:
Interesting. Not entirely certain how this happened. Since it was from
an earlier commit I made, I rebased it, amended the changes, and then
formatted another patch using git. Apparently one of my other patches
for an earlier version had the same problem but the subsequent version
has the correct indent.
>
> --- a/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> +++ b/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
>
> here, right?
Yes.
>
> Anyway, because of that, this does not apply to the tree at all :(
>
> Please fix and send a v3.
Got it.
>
> thanks,
>
> greg k-h

On Thu, Apr 3, 2025 at 10:22 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Wed, Apr 02, 2025 at 08:42:07AM -0400, Gabriel Shahrouzi wrote:
> > Remove trailing whitespace to comply with kernel coding style.
> >
> > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > ---
> > Changes in v2:
> >       - Resend using git send-email to fix formatting issues in email body.
> > ---
> >  drivers/staging/rtl8723bs/include/hal_pwr_seq.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git drivers/staging/rtl8723bs/include/hal_pwr_seq.h drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > index b93d74a5b9a5..48bf7f66a06e 100644
> > --- drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > +++ drivers/staging/rtl8723bs/include/hal_pwr_seq.h
>
> This wasn't made with git, was it?  You are "one" indent level off, the
> diff should say:
>
> --- a/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> +++ b/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
>
> here, right?
>
> Anyway, because of that, this does not apply to the tree at all :(
>
> Please fix and send a v3.
>
> thanks,
>
> greg k-h

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

* Re: [PATCH v2] staging: rtl8723bs: Remove trailing whitespace
  2025-04-04  3:03   ` Gabriel
@ 2025-04-04  3:15     ` Gabriel
  0 siblings, 0 replies; 4+ messages in thread
From: Gabriel @ 2025-04-04  3:15 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-staging, philipp.g.hortmann, eamanu, linux-kernel,
	kernelmentees, skhan

On Thu, Apr 3, 2025 at 11:03 PM Gabriel <gshahrouzi@gmail.com> wrote:
>
> On Thu, Apr 3, 2025 at 10:22 AM Greg KH <gregkh@linuxfoundation.org> wrote:
> >
> > On Wed, Apr 02, 2025 at 08:42:07AM -0400, Gabriel Shahrouzi wrote:
> > > Remove trailing whitespace to comply with kernel coding style.
> > >
> > > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > > ---
> > > Changes in v2:
> > >       - Resend using git send-email to fix formatting issues in the email body.
> > > ---
> > >  drivers/staging/rtl8723bs/include/hal_pwr_seq.h | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git drivers/staging/rtl8723bs/include/hal_pwr_seq.h drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > > index b93d74a5b9a5..48bf7f66a06e 100644
> > > --- drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > > +++ drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> >
> > This wasn't made with git, was it?  You are "one" indent level off, the
> > diff should say:
> Interesting. Not entirely certain how this happened. Since it was from
> an earlier commit I made, I rebased it, amended the changes, and then
> formatted another patch using git. Apparently one of my other patches
> for an earlier version had the same problem but the subsequent version
> has the correct indent.
> >
> > --- a/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > +++ b/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> >
> > here, right?
> Yes.
> >
> > Anyway, because of that, this does not apply to the tree at all :(
> >
> > Please fix and send a v3.
> Got it.
> >
> > thanks,
> >
> > greg k-h
>
> On Thu, Apr 3, 2025 at 10:22 AM Greg KH <gregkh@linuxfoundation.org> wrote:
> >
> > On Wed, Apr 02, 2025 at 08:42:07AM -0400, Gabriel Shahrouzi wrote:
> > > Remove trailing whitespace to comply with kernel coding style.
> > >
> > > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > > ---
> > > Changes in v2:
> > >       - Resend using git send-email to fix formatting issues in email body.
> > > ---
> > >  drivers/staging/rtl8723bs/include/hal_pwr_seq.h | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git drivers/staging/rtl8723bs/include/hal_pwr_seq.h drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > > index b93d74a5b9a5..48bf7f66a06e 100644
> > > --- drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > > +++ drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> >
> > This wasn't made with git, was it?  You are "one" indent level off, the
> > diff should say:
> >
> > --- a/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> > +++ b/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
> >
> > here, right?
> >
> > Anyway, because of that, this does not apply to the tree at all :(
> >
> > Please fix and send a v3.
> >
> > thanks,
> >
> > greg k-h
Apologies for the duplicate post. I initially replied only to one
person by accident and have resent it using 'reply all'

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

end of thread, other threads:[~2025-04-04  3:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-02 12:42 [PATCH v2] staging: rtl8723bs: Remove trailing whitespace Gabriel Shahrouzi
2025-04-03 14:20 ` Greg KH
2025-04-04  3:03   ` Gabriel
2025-04-04  3:15     ` Gabriel

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