Add a blank line after declarations to remove the checkpatch warning:
'Missing line after declarations'

Signed-off-by: Athira Lekshmi <andnlnb...@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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to