Skip to contentSkip to conversation

Add blank line after function/struct/union/enum declarations

PATCH Superseded Arushi Singhal 2 participants 2 messages Mar 10, 2017 – Mar 12, 2017 Staging

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add blank line after function/struct/union/enum declarations

This patch fixes the warnings reported by checkpatch.pl for please use a blank line after function/struct/union/enum declarations.

---
 drivers/staging/speakup/main.c         | 1 +
 drivers/staging/speakup/serialio.c     | 1 +
 drivers/staging/speakup/speakup_dtlk.c | 1 +
 3 files changed, 3 insertions(+)
drivers/staging/speakup/main.c +1 -0
index 01eabc19039c..17df20ec94be 100644
@@ -108,6 +108,7 @@ enum {
 	CT_Window,
 	CT_Max
 };
+
 #define read_all_mode CT_Max
 
 static struct tty_struct *tty;
drivers/staging/speakup/serialio.c +1 -0
index 7e6bc3b05da3..9b2626e85042 100644
@@ -21,6 +21,7 @@ static void start_serial_interrupt(int irq);
 static const struct old_serial_port rs_table[] = {
 	SERIAL_PORT_DFNS
 };
+
 static const struct old_serial_port *serstate;
 static int timeouts;
 
drivers/staging/speakup/speakup_dtlk.c +1 -0
index 1ebe5012ec0b..e36360f65f36 100644
@@ -43,6 +43,7 @@ static int port_forced;
 static unsigned int synth_portlist[] = {
 		 0x25e, 0x29e, 0x2de, 0x31e, 0x35e, 0x39e, 0
 };
+
 static u_char synth_status;
 
 static struct var_t vars[] = {
Signature · 1 line
2.11.0
#1 lore raw
Quoted 5 lines · Arushi Singhal

This patch fixes the warnings reported by checkpatch.pl for please use a blank line after function/struct/union/enum declarations.

You didn't put what subsystem: driver you are modifying in the subject line :(

thanks,

greg k-h