Add a new 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/sch311x_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/sch311x_wdt.c b/drivers/watchdog/sch311x_wdt.c index b96127e..b550c83 100644 --- a/drivers/watchdog/sch311x_wdt.c +++ b/drivers/watchdog/sch311x_wdt.c @@ -233,6 +233,7 @@ static ssize_t sch311x_wdt_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-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html