Re: [PATCH v2] staging: rtl8723bs: style fix open brace on new line
From: Greg Kroah-Hartman
Date: Tue Jul 30 2024 - 02:53:47 EST
On Tue, Jul 30, 2024 at 06:48:28AM +0000, Sai Sree Kartheek Adivi wrote:
> It fixes the following checkpatch.pl error
> "ERROR: that open brace { should be on the previous line" and avoids the
> warning "WARNING: braces {} are not necessary for single statement blocks".
>
> Signed-off-by: Sai Sree Kartheek Adivi <sskartheekadivi@xxxxxxxxx>
> ---
> This is my first contribution. Hope I did everything right!
>
> drivers/staging/rtl8723bs/include/osdep_service.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/include/osdep_service.h b/drivers/staging/rtl8723bs/include/osdep_service.h
> index cf96b5f7a..5629123cd 100644
> --- a/drivers/staging/rtl8723bs/include/osdep_service.h
> +++ b/drivers/staging/rtl8723bs/include/osdep_service.h
> @@ -81,9 +81,7 @@ static inline void thread_enter(char *name)
> static inline void flush_signals_thread(void)
> {
> if (signal_pending(current))
> - {
> flush_signals(current);
> - }
> }
>
> #define rtw_warn_on(condition) WARN_ON(condition)
> --
> 2.20.1
>
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot