public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] tty: gdm724x : fixes missing a blank line after declarations
@ 2023-10-11 12:53 Chen Shuo
  2023-10-11 17:45 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Shuo @ 2023-10-11 12:53 UTC (permalink / raw)
  To: linux-staging; +Cc: Chen Shuo

This patch fixes the checks reported by checkpatch.pl
for missing a blank line after declarations

Signed-off-by: Chen Shuo <1289151713@qq.com>
---
 drivers/staging/gdm724x/gdm_tty.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c
index 32b2e817ff04..15c246d3b1a3 100644
--- a/drivers/staging/gdm724x/gdm_tty.c
+++ b/drivers/staging/gdm724x/gdm_tty.c
@@ -160,6 +160,7 @@ static ssize_t gdm_tty_write(struct tty_struct *tty, const u8 *buf, size_t len)
 
 	while (remain) {
 		size_t sending_len = min_t(size_t, MUX_TX_MAX_SIZE, remain);
+
 		gdm->tty_dev->send_func(gdm->tty_dev->priv_dev,
 					(void *)(buf + sent_len),
 					sending_len,
-- 
2.34.1


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

* Re: [PATCH] tty: gdm724x : fixes missing a blank line after declarations
  2023-10-11 12:53 [PATCH] tty: gdm724x : fixes missing a blank line after declarations Chen Shuo
@ 2023-10-11 17:45 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2023-10-11 17:45 UTC (permalink / raw)
  To: Chen Shuo; +Cc: linux-staging

On Wed, Oct 11, 2023 at 08:53:16PM +0800, Chen Shuo wrote:
> This patch fixes the checks reported by checkpatch.pl
> for missing a blank line after declarations
> 
> Signed-off-by: Chen Shuo <1289151713@qq.com>
> ---
>  drivers/staging/gdm724x/gdm_tty.c | 1 +
>  1 file changed, 1 insertion(+)

Why are you not cc: the proper developers and maintainers and why does
your subject line have "tty: " as a prefix when this is not in the tty
subsystem?

thanks,

greg k-h

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

end of thread, other threads:[~2023-10-11 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-11 12:53 [PATCH] tty: gdm724x : fixes missing a blank line after declarations Chen Shuo
2023-10-11 17:45 ` Greg KH

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