git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] more coding style clean-up's
[sfrench/cifs-2.6.git]
/
drivers
/
watchdog
/
it8712f_wdt.c
diff --git
a/drivers/watchdog/it8712f_wdt.c
b/drivers/watchdog/it8712f_wdt.c
index c1db74f6e310b80be58e3c434d8d8cf38aca0911..2270ee07c01b7222d15bd107f08af04505e4c06b 100644
(file)
--- a/
drivers/watchdog/it8712f_wdt.c
+++ b/
drivers/watchdog/it8712f_wdt.c
@@
-221,7
+221,7
@@
static ssize_t it8712f_wdt_write(struct file *file, const char __user *data,
expect_close = 0;
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_close = 42;