[PATCH v2] staging: gdm724x: Add blank line after declaration

Soumya Negi posted 1 patch 2 years, 2 months ago
drivers/staging/gdm724x/gdm_tty.c | 1 +
1 file changed, 1 insertion(+)
[PATCH v2] staging: gdm724x: Add blank line after declaration
Posted by Soumya Negi 2 years, 2 months ago
Fix WARNING: Missing a blank line after declarations
Issue found by checkpatch.pl

Signed-off-by: Soumya Negi <soumya.negi97@gmail.com>
---
Changes in v2:
* Change "tty:" in patch subject to "staging:"

 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 4e5cac76db58..0c61eaff6122 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.42.0
Re: [PATCH v2] staging: gdm724x: Add blank line after declaration
Posted by Andi Shyti 2 years, 2 months ago
Hi Soumya,

On Tue, Oct 17, 2023 at 09:46:07PM -0700, Soumya Negi wrote:
> Fix WARNING: Missing a blank line after declarations
> Issue found by checkpatch.pl
> 
> Signed-off-by: Soumya Negi <soumya.negi97@gmail.com>

Acked-by: Andi Shyti <andi.shyti@linux.intel.com> 

Thanks,
Andi