mbox series

[00/11] tty: serial: Fix some coding style issues

Message ID 1621303038-12062-1-git-send-email-f.fangjian@huawei.com
Headers show
Series tty: serial: Fix some coding style issues | expand

Message

Jay Fang May 18, 2021, 1:57 a.m. UTC
From: Zihao Tang <tangzihao1@hisilicon.com>

This patchset fixes some coding style issues reported by checkpatch.pl.

Zihao Tang (11):
  tty: serial: 21285: Fix some coding sytle issues
  tty: serial: amba-pl010: Fix 2 coding style issues
  tty: serial: amba-pl011: Replace the unsuitable spaces with tabs
  tty: serial: amba-pl011: Remove initialization of static variable
  tty: serial: apbuart: Fix some coding sytle issues
  tty: serial: atmel: Fix some coding style issues
  tty: serial: bcm63xx_uart: Fix some coding style issues
  tty: serial: clps711x: Fix some coding style issuses
  tty: serial: digicolor: Use 'unsigned int' instead of 'unsigned'
  tty: serial: dz: Use 'unsigned int' instead of 'unsigned'
  tty: serial: earlycon-arm-semihost : Fix some coding style issuses

 drivers/tty/serial/21285.c                 |  7 +++----
 drivers/tty/serial/amba-pl010.c            |  4 ++--
 drivers/tty/serial/amba-pl011.c            | 12 ++++++------
 drivers/tty/serial/apbuart.c               |  5 ++++-
 drivers/tty/serial/atmel_serial.c          | 13 +++++++++----
 drivers/tty/serial/bcm63xx_uart.c          | 14 +++++++++-----
 drivers/tty/serial/clps711x.c              |  4 ++--
 drivers/tty/serial/digicolor-usart.c       |  2 +-
 drivers/tty/serial/dz.c                    |  4 ++--
 drivers/tty/serial/earlycon-arm-semihost.c |  3 ++-
 10 files changed, 40 insertions(+), 28 deletions(-)

Comments

Greg Kroah-Hartman May 18, 2021, 5:39 a.m. UTC | #1
On Tue, May 18, 2021 at 09:57:07AM +0800, Jay Fang wrote:
> From: Zihao Tang <tangzihao1@hisilicon.com>
> 
> This patchset fixes some coding style issues reported by checkpatch.pl.
> 
> Zihao Tang (11):
>   tty: serial: 21285: Fix some coding sytle issues
>   tty: serial: amba-pl010: Fix 2 coding style issues
>   tty: serial: amba-pl011: Replace the unsuitable spaces with tabs
>   tty: serial: amba-pl011: Remove initialization of static variable
>   tty: serial: apbuart: Fix some coding sytle issues
>   tty: serial: atmel: Fix some coding style issues
>   tty: serial: bcm63xx_uart: Fix some coding style issues
>   tty: serial: clps711x: Fix some coding style issuses
>   tty: serial: digicolor: Use 'unsigned int' instead of 'unsigned'
>   tty: serial: dz: Use 'unsigned int' instead of 'unsigned'
>   tty: serial: earlycon-arm-semihost : Fix some coding style issuses
> 
>  drivers/tty/serial/21285.c                 |  7 +++----
>  drivers/tty/serial/amba-pl010.c            |  4 ++--
>  drivers/tty/serial/amba-pl011.c            | 12 ++++++------
>  drivers/tty/serial/apbuart.c               |  5 ++++-
>  drivers/tty/serial/atmel_serial.c          | 13 +++++++++----
>  drivers/tty/serial/bcm63xx_uart.c          | 14 +++++++++-----
>  drivers/tty/serial/clps711x.c              |  4 ++--
>  drivers/tty/serial/digicolor-usart.c       |  2 +-
>  drivers/tty/serial/dz.c                    |  4 ++--
>  drivers/tty/serial/earlycon-arm-semihost.c |  3 ++-
>  10 files changed, 40 insertions(+), 28 deletions(-)
> 
> -- 
> 2.7.4
> 


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:

- Your patch did many different things all at once, making it difficult
  to review.  All Linux kernel patches need to only do one thing at a
  time.  If you need to do multiple things (such as clean up all coding
  style issues in a file/driver), do it in a sequence of patches, each
  one doing only one thing.  This will make it easier to review the
  patches to ensure that they are correct, and to help alleviate any
  merge issues that larger patches can cause.

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
Johan Hovold May 21, 2021, 8:56 a.m. UTC | #2
On Tue, May 18, 2021 at 09:57:07AM +0800, Jay Fang wrote:
> From: Zihao Tang <tangzihao1@hisilicon.com>

> 

> This patchset fixes some coding style issues reported by checkpatch.pl.


Please don't send (checkpatch) style cleanups for code outside of
staging unless you're also doing some real changes to the code in
question as this only makes it harder to do code forensics and backport
fixes for no good reason.

Some more discussion can be found here:

	https://lore.kernel.org/r/YKYcFfKiHT39Gyey@hovoldconsulting.com

> Zihao Tang (11):

>   tty: serial: 21285: Fix some coding sytle issues

>   tty: serial: amba-pl010: Fix 2 coding style issues

>   tty: serial: amba-pl011: Replace the unsuitable spaces with tabs

>   tty: serial: amba-pl011: Remove initialization of static variable

>   tty: serial: apbuart: Fix some coding sytle issues

>   tty: serial: atmel: Fix some coding style issues

>   tty: serial: bcm63xx_uart: Fix some coding style issues

>   tty: serial: clps711x: Fix some coding style issuses

>   tty: serial: digicolor: Use 'unsigned int' instead of 'unsigned'

>   tty: serial: dz: Use 'unsigned int' instead of 'unsigned'

>   tty: serial: earlycon-arm-semihost : Fix some coding style issuses


Johan