Skip to contentSkip to conversation

Staging: fwserial: Add blank line after declarations

PATCH Superseded Bhanusree Pola 2 participants 2 messages Feb 25, 2019 Staging

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: fwserial: Add blank line after declarations

A blank line is required after declarations and is added. Issue found using checkpatch.pl

---

v2:
Commit log modified to be imperative.

 drivers/staging/fwserial/fwserial.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/fwserial/fwserial.c +1 -0
index 3e416f5bbcba..a1b90ea7fcb8 100644
@@ -1213,6 +1213,7 @@ static int get_serial_info(struct tty_struct *tty,
 			   struct serial_struct *ss)
 {
 	struct fwtty_port *port = tty->driver_data;
+
 	mutex_lock(&port->port.mutex);
 	ss->type =  PORT_UNKNOWN;
 	ss->line =  port->port.tty->index;
Signature · 1 line
2.17.1
#1 lore raw
Quoted 8 lines · Bhanusree Pola

A blank line is required after declarations and is added. Issue found using checkpatch.pl

---

v2:
Commit log modified to be imperative.

Actually, it's not imperative at all. Now it's passive - is added,
etc. It should be something like "Add a blank line after...".

julia

Quoted 26 lines
 drivers/staging/fwserial/fwserial.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/fwserial/fwserial.c +1 -1
index 3e416f5bbcba..a1b90ea7fcb8 100644
@@ -1213,6 +1213,7 @@ static int get_serial_info(struct tty_struct *tty,
 			   struct serial_struct *ss)
 {
 	struct fwtty_port *port = tty->driver_data;
+
 	mutex_lock(&port->port.mutex);
 	ss->type =  PORT_UNKNOWN;
 	ss->line =  port->port.tty->index;
--

2.17.1

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20190225142307.7634-1-bhanusreemahesh%40gmail.com.
For more options, visit https://groups.google.com/d/optout.