projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e2efb
)
hwmon: (jc42) fix type mismatch
author
Clemens Ladisch
<clemens@ladisch.de>
Wed, 16 Feb 2011 13:01:49 +0000
(08:01 -0500)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Wed, 16 Feb 2011 16:18:31 +0000
(08:18 -0800)
In set_temp_crit_hyst(), make the variable 'val' have the correct
type for strict_strtoul().
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: stable@kernel.org
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/jc42.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/jc42.c
b/drivers/hwmon/jc42.c
index
340fc78
..
5efe239
100644
(file)
--- a/
drivers/hwmon/jc42.c
+++ b/
drivers/hwmon/jc42.c
@@
-332,7
+332,7
@@
static ssize_t set_temp_crit_hyst(struct device *dev,
{
struct i2c_client *client = to_i2c_client(dev);
struct jc42_data *data = i2c_get_clientdata(client);
- long val;
+
unsigned
long val;
int diff, hyst;
int err;
int ret = count;