git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fix/hda' into for-linus
[pandora-kernel.git]
/
drivers
/
watchdog
/
at32ap700x_wdt.c
diff --git
a/drivers/watchdog/at32ap700x_wdt.c
b/drivers/watchdog/at32ap700x_wdt.c
index
4538b57
..
e8ae638
100644
(file)
--- a/
drivers/watchdog/at32ap700x_wdt.c
+++ b/
drivers/watchdog/at32ap700x_wdt.c
@@
-283,7
+283,7
@@
static ssize_t at32_wdt_write(struct file *file, const char __user *data,
*/
for (i = 0; i != len; i++) {
char c;
- if (get_user(c, data
+
i))
+ if (get_user(c, data
+
i))
return -EFAULT;
if (c == 'V')
expect_release = 42;