[PATCH v2 1/8] watchdog: wdt_pci: Fixed missing blank line warning

From: Athira Lekshmi
Date: Thu Jan 15 2015 - 10:32:04 EST


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/wdt_pci.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c
index 48b2c05..b84a180 100644
--- a/drivers/watchdog/wdt_pci.c
+++ b/drivers/watchdog/wdt_pci.c
@@ -279,6 +279,7 @@ static int wdtpci_get_temperature(int *temperature)
{
unsigned short c;
unsigned long flags;
+
spin_lock_irqsave(&wdtpci_lock, flags);
c = inb(WDT_RT);
udelay(8);
@@ -366,6 +367,7 @@ static ssize_t wdtpci_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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/