Skip to contentSkip to conversation

staging: goldfish: Fix missing blank lines

PATCH New Garret Kelly 1 participant 1 message Apr 7, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: goldfish: Fix missing blank lines

Fix two instances of the following checkpatch warning:
WARNING: Missing a blank line after declarations

---
 drivers/staging/goldfish/goldfish_audio.c | 1 +
 drivers/staging/goldfish/goldfish_nand.c  | 1 +
 2 files changed, 2 insertions(+)
drivers/staging/goldfish/goldfish_audio.c +1 -0
index f96dcec..aca980e 100644
@@ -147,6 +147,7 @@ static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf,
 
 	while (count > 0) {
 		ssize_t copy = count;
+
 		if (copy > WRITE_BUFFER_SIZE)
 			copy = WRITE_BUFFER_SIZE;
 		wait_event_interruptible(data->wait, (data->buffer_status &
drivers/staging/goldfish/goldfish_nand.c +1 -0
index eca0873..fe6771c 100644
@@ -425,6 +425,7 @@ static int goldfish_nand_remove(struct platform_device *pdev)
 {
 	struct goldfish_nand *nand = platform_get_drvdata(pdev);
 	int i;
+
 	for (i = 0; i < nand->mtd_count; i++) {
 		if (nand->mtd[i].name)
 			mtd_device_unregister(&nand->mtd[i]);
Signature · 1 line
1.8.3.2