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
hwmon: (fschmd) Fix check on unsigned in watchdog_write()
[sfrench/cifs-2.6.git]
/
drivers
/
hwmon
/
fschmd.c
diff --git
a/drivers/hwmon/fschmd.c
b/drivers/hwmon/fschmd.c
index 2a7a85a6dc360e9615725fc7be5c25b0f845799c..da1b1f9488afc335c60b1833ee3fb7d89d3b832d 100644
(file)
--- a/
drivers/hwmon/fschmd.c
+++ b/
drivers/hwmon/fschmd.c
@@
-819,7
+819,7
@@
static int watchdog_release(struct inode *inode, struct file *filp)
static ssize_t watchdog_write(struct file *filp, const char __user *buf,
size_t count, loff_t *offset)
{
-
size_
t ret;
+
in
t ret;
struct fschmd_data *data = filp->private_data;
if (count) {