Skip to contentSkip to conversation

tty: gdm724x: Add blank line after declaration

PATCH In review Soumya Negi 1 participant 2 messages Oct 13, 2023 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: gdm724x: Add blank line after declaration

Fix WARNING: Missing a blank line after declarations Issue found by checkpatch.pl

---
 drivers/staging/gdm724x/gdm_tty.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/gdm724x/gdm_tty.c +1 -0
index 4e5cac76db58..0c61eaff6122 100644
@@ -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,
Signature · 1 line
2.42.0
#1 lore raw
Quoted 14 lines · Soumya Negi

Fix WARNING: Missing a blank line after declarations Issue found by checkpatch.pl

---
 drivers/staging/gdm724x/gdm_tty.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/gdm724x/gdm_tty.c +0 -0
index 4e5cac76db58..0c61eaff6122 100644

drivers/staging/gdm724x/gdm_tty.c static ssize_t gdm_tty_write(struct tty_struct *tty, const u8 *buf, size_t len) · line 166

Quoted 7 lines
drivers/staging/gdm724x/gdm_tty.c +1 -0
@@ -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,

Please ignore this patch. It must be sent as part of a patch set as suggested by Julia. I'll be doing that shortly.

Quoted 2 lines

2.42.0