Skip to contentSkip to conversation

Drivers:watchdog: Fixed missing blank line warning

PATCH Superseded Athira Lekshmi 2 participants 2 messages Dec 5, 2014 Watchdog device drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drivers:watchdog: Fixed missing blank line warning

Fixed the checkpatch warning:
Missing a blank line after declarations

---
 drivers/watchdog/mixcomwd.c |    1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/mixcomwd.c +1 -0
index be86ea3..03b7612e 100644
@@ -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')
Signature · 1 line
1.7.9.5
#1 lore raw

Athira,

Quoted 28 lines · Athira Lekshmi

Fixed the checkpatch warning:
Missing a blank line after declarations

---
 drivers/watchdog/mixcomwd.c |    1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/mixcomwd.c +1 -0
index be86ea3..03b7612e 100644
@@ -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')
Signature · 7 lines
1.7.9.5

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

There should be spaces between the tags in your subject line. For example, instead of "Drivers:watchdog:" use "Drivers: watchdog:". And the tags should be useful, I am not sure if "Drivers" adds much. I would probably just use "watchdog:" in this case.

Signature · 1 line
- Jeremiah Mahler