Skip to contentSkip to conversation

staging: wlan-ng/prism2fw.c: Add blank line after declarations

PATCH New Matt Kurz 1 participant 1 message Jul 1, 2014 Staging

lore
Share & tools
lore

Matt Kurz

author
#0 lore raw

PATCH 1/1 staging: wlan-ng/prism2fw.c: Add blank line after declarations

Fix checkpatch.pl warnings due to missing blank line after declarations

---
 drivers/staging/wlan-ng/prism2fw.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/wlan-ng/prism2fw.c +2 -0
index f787035..42c14b0 100644
@@ -445,6 +445,7 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
 static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
 {
 	int i;
+
 	for (i = 0; i < *nfchunks; i++)
 		kfree(fchunk[i].data);
 
@@ -1060,6 +1061,7 @@ static int writeimage(wlandevice_t *wlandev, struct imgchunk *fchunk,
 		for (j = 0; j < nwrites; j++) {
 			/* TODO Move this to a separate function */
 			int lenleft = fchunk[i].len - (WRITESIZE_MAX * j);
+
 			if (fchunk[i].len > WRITESIZE_MAX)
 				currlen = WRITESIZE_MAX;
 			else
Signature · 1 line
2.0.1