[PATCH v2 6/8] watchdog: ar7_wdt: Fixed missing blank line warning
From: Athira Lekshmi
Date: Thu Jan 15 2015 - 10:33:25 EST
Add a blank line after declarations to remove the checkpatch warning:
'Missing blank line after declarations'
Signed-off-by: Athira Lekshmi <andnlnbn18@xxxxxxxxx>
---
Changes in v2:
- Make the commit message more clearer.
drivers/watchdog/ar7_wdt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c
index ae6c287..d001365 100644
--- a/drivers/watchdog/ar7_wdt.c
+++ b/drivers/watchdog/ar7_wdt.c
@@ -202,6 +202,7 @@ static ssize_t ar7_wdt_write(struct file *file, const char *data,
expect_close = 0;
for (i = 0; i < len; ++i) {
char c;
+
if (get_user(c, data + i))
return -EFAULT;
if (c == 'V')
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/