[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1418747129-3766-4-git-send-email-andnlnbn18@gmail.com>
Date: Tue, 16 Dec 2014 21:55:25 +0530
From: Athira Lekshmi <andnlnbn18@...il.com>
To: wim@...ana.be
Cc: linux-watchdog@...r.kernel.org, linux-kernel@...r.kernel.org,
Athira Lekshmi <andnlnbn18@...il.com>
Subject: [PATCH 4/8] drivers: watchdog: Fixed missing blank line warning
Added a blank line after declarations to remove the warning:
'Missing blank line after declarations'
Signed-off-by: Athira Lekshmi <andnlnbn18@...il.com>
---
drivers/watchdog/advantechwdt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchdog/advantechwdt.c b/drivers/watchdog/advantechwdt.c
index 7796db7..74e49ed 100644
--- a/drivers/watchdog/advantechwdt.c
+++ b/drivers/watchdog/advantechwdt.c
@@ -121,6 +121,7 @@ static ssize_t advwdt_write(struct file *file, const char __user *buf,
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists