Messages in this thread Patch in this message | | | From | Athira Lekshmi <> | Subject | [PATCH v2 4/8] watchdog: advantechwdt: Fixed missing blank line warning | Date | Thu, 15 Jan 2015 21:02:02 +0530 |
| |
Add a blank line after declarations to remove the checkpatch warning: 'Missing line after declarations'
Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com> --- Changes in v2: - Make the commit message more clearer.
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
| |