Skip to contentSkip to conversation

Staging: comedi: 8255.c Missing a blank line fixed

PATCH In review Sam Asadi 2 participants 2 messages Jul 20, 2014 Staging

lore
Share & tools
lore

Sam Asadi

author
#0 lore raw

PATCH 1/1 Staging: comedi: 8255.c Missing a blank line fixed

A 'Missing a blank line after declarations' issue fixed and also tested by 'make M=...'. It seems that after 'unsigned long iobase' declaration a blank line is desperately needed.

---
 drivers/staging/comedi/drivers/8255.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/comedi/drivers/8255.c +1 -0
index 46113a3..e591441 100644
@@ -94,6 +94,7 @@ I/O port base address can be found in the output of 'lspci -v'.
 
 struct subdev_8255_private {
 	unsigned long iobase;
+
 	int (*io)(int, int, int, unsigned long);
 };
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Sam Asadi

A 'Missing a blank line after declarations' issue fixed and also tested by 'make M=...'. It seems that after 'unsigned long iobase' declaration a blank line is desperately needed.

[]

drivers/staging/comedi/drivers/8255.c

Quoted 1 line
drivers/staging/comedi/drivers/8255.c +0 -0

[]

drivers/staging/comedi/drivers/8255.c I/O port base address can be found in the output of 'lspci -v'. · line 100

Quoted 8 lines
drivers/staging/comedi/drivers/8255.c +1 -0
@@ -94,6 +94,7 @@ I/O port base address can be found in the output of 'lspci -v'.
 
 struct subdev_8255_private {
 	unsigned long iobase;
+
 	int (*io)(int, int, int, unsigned long);
 };
 

You used an old version of checkpatch without a modification to the "blank line after declarations" test that supports function pointers.

Use the latest version from --next instead.