This is a note to let you know that I've just added the patch titled
hwmon: (jc42) fix type mismatch
to the 2.6.37-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
hwmon-jc42-fix-type-mismatch.patch
and it can be found in the queue-2.6.37 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From e866729605a43a739fc56023a8530b07a93d3458 Mon Sep 17 00:00:00 2001
From: Clemens Ladisch <[email protected]>
Date: Wed, 16 Feb 2011 08:01:49 -0500
Subject: hwmon: (jc42) fix type mismatch
From: Clemens Ladisch <[email protected]>
commit e866729605a43a739fc56023a8530b07a93d3458 upstream.
In set_temp_crit_hyst(), make the variable 'val' have the correct
type for strict_strtoul().
Signed-off-by: Clemens Ladisch <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/hwmon/jc42.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/hwmon/jc42.c
+++ b/drivers/hwmon/jc42.c
@@ -332,7 +332,7 @@ static ssize_t set_temp_crit_hyst(struct
{
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;
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.37/hwmon-jc42-more-helpful-documentation.patch
queue-2.6.37/hwmon-jc42-fix-type-mismatch.patch
queue-2.6.37/hwmon-k10temp-add-support-for-amd-family-12h-14h-cpus.patch
queue-2.6.37/hwmon-jc42-do-not-allow-writing-to-locked-registers.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable