From: Athira Lekshmi <andnlnbn18@gmail.com>
To: wim@iguana.be
Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org,
Athira Lekshmi <andnlnbn18@gmail.com>
Subject: [PATCH v2 3/8] watchdog: alim1535_wdt: Fixed missing blank line warning
Date: Thu, 15 Jan 2015 21:02:01 +0530 [thread overview]
Message-ID: <1421335926-3321-3-git-send-email-andnlnbn18@gmail.com> (raw)
In-Reply-To: <1421335926-3321-1-git-send-email-andnlnbn18@gmail.com>
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/alim1535_wdt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/watchdog/alim1535_wdt.c b/drivers/watchdog/alim1535_wdt.c
index 3a17fbd..a505a78 100644
--- a/drivers/watchdog/alim1535_wdt.c
+++ b/drivers/watchdog/alim1535_wdt.c
@@ -154,6 +154,7 @@ static ssize_t ali_write(struct file *file, const char __user *data,
the magic character */
for (i = 0; i != len; i++) {
char c;
+
if (get_user(c, data + i))
return -EFAULT;
if (c == 'V')
@@ -218,6 +219,7 @@ static long ali_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
case WDIOC_SETTIMEOUT:
{
int new_timeout;
+
if (get_user(new_timeout, p))
return -EFAULT;
if (ali_settimer(new_timeout))
--
1.7.9.5
next prev parent reply other threads:[~2015-01-15 15:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-15 15:31 [PATCH v2 1/8] watchdog: wdt_pci: Fixed missing blank line warning Athira Lekshmi
2015-01-15 15:32 ` [PATCH v2 2/8] watchdog: sch311x_wdt: " Athira Lekshmi
2015-01-15 15:32 ` Athira Lekshmi [this message]
2015-01-15 15:32 ` [PATCH v2 4/8] watchdog: advantechwdt: " Athira Lekshmi
2015-01-15 15:32 ` [PATCH v2 5/8] watchdog: acquirewdt: " Athira Lekshmi
2015-01-15 15:32 ` [PATCH v2 6/8] watchdog: ar7_wdt: " Athira Lekshmi
2015-01-15 15:32 ` [PATCH v2 7/8] watchdog: at91sam9_wdt: " Athira Lekshmi
2015-01-15 15:32 ` [PATCH v2 8/8] watchdog: eurotechwdt: " Athira Lekshmi
2015-01-16 14:32 ` [PATCH v2 1/8] watchdog: wdt_pci: " Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421335926-3321-3-git-send-email-andnlnbn18@gmail.com \
--to=andnlnbn18@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox