Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753376AbaLENnz (ORCPT ); Fri, 5 Dec 2014 08:43:55 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:40251 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751252AbaLENny (ORCPT ); Fri, 5 Dec 2014 08:43:54 -0500 From: Athira Lekshmi To: wim@iguana.be Cc: linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, Athira Lekshmi Subject: [PATCH] watchdog: Fixed missing blank line warning Date: Fri, 5 Dec 2014 19:13:54 +0530 Message-Id: <1417787034-7833-1-git-send-email-andnlnbn18@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed the checkpatch warning: Missing a blank line after declarations Signed-off-by: Athira Lekshmi --- drivers/watchdog/mixcomwd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/mixcomwd.c b/drivers/watchdog/mixcomwd.c index be86ea3..03b7612e 100644 --- a/drivers/watchdog/mixcomwd.c +++ b/drivers/watchdog/mixcomwd.c @@ -183,6 +183,7 @@ static ssize_t mixcomwd_write(struct file *file, const char __user *data, 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/