aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/i6300esb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/i6300esb.c')
-rw-r--r--drivers/watchdog/i6300esb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/watchdog/i6300esb.c b/drivers/watchdog/i6300esb.c
index 74f951c18b90..97ac6bf42224 100644
--- a/drivers/watchdog/i6300esb.c
+++ b/drivers/watchdog/i6300esb.c
@@ -240,7 +240,8 @@ static ssize_t esb_write(struct file *file, const char __user *data,
240 * five months ago... */ 240 * five months ago... */
241 esb_expect_close = 0; 241 esb_expect_close = 0;
242 242
243 /* scan to see whether or not we got the magic character */ 243 /* scan to see whether or not we got the
244 * magic character */
244 for (i = 0; i != len; i++) { 245 for (i = 0; i != len; i++) {
245 char c; 246 char c;
246 if (get_user(c, data + i)) 247 if (get_user(c, data + i))