[PATCH 5/8] drivers: watchdog: Fixed missing blank line warning
From: Athira Lekshmi
Date: Tue Dec 16 2014 - 11:26:07 EST
Added a blank line after declarations to remove the warning:
'Missing blank line after declarations'
Signed-off-by: Athira Lekshmi <andnlnbn18@xxxxxxxxx>
---
drivers/watchdog/acquirewdt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchdog/acquirewdt.c b/drivers/watchdog/acquirewdt.c
index 5614416..d78a120 100644
--- a/drivers/watchdog/acquirewdt.c
+++ b/drivers/watchdog/acquirewdt.c
@@ -132,6 +132,7 @@ static ssize_t acq_write(struct file *file, const char __user *buf,
magic character */
for (i = 0; i != count; i++) {
char c;
+
if (get_user(c, buf + 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/