This is a note to let you know that I've just added the patch titled

    hwmon: (it87) Fix label group removal

to the 2.6.39-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-it87-fix-label-group-removal.patch
and it can be found in the queue-2.6.39 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <sta...@kernel.org> know about it.


>From fa8b69758e65b406c8010936b541cd00deef804d Mon Sep 17 00:00:00 2001
From: Jean Delvare <kh...@linux-fr.org>
Date: Sun, 17 Jul 2011 18:39:19 +0200
Subject: hwmon: (it87) Fix label group removal

From: Jean Delvare <kh...@linux-fr.org>

commit fa8b69758e65b406c8010936b541cd00deef804d upstream.

A copy-and-paste error caused it87_attributes_vid to be referenced
where it87_attributes_label should be. Thankfully the group is only
used for attribute removal, not attribute creation, so the effects of
this bug are limited, but let's fix it still.

Signed-off-by: Jean Delvare <kh...@linux-fr.org>
Acked-by: Guenter Roeck <guenter.ro...@ericsson.com>
Signed-off-by: Greg Kroah-Hartman <gre...@suse.de>

---
 drivers/hwmon/it87.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/hwmon/it87.c
+++ b/drivers/hwmon/it87.c
@@ -1535,7 +1535,7 @@ static struct attribute *it87_attributes
 };
 
 static const struct attribute_group it87_group_label = {
-       .attrs = it87_attributes_vid,
+       .attrs = it87_attributes_label,
 };
 
 /* SuperIO detection - will change isa_address if a chip is found */


Patches currently in stable-queue which might be from kh...@linux-fr.org are

queue-2.6.39/hwmon-max1111-fix-race-condition-causing-null-pointer-exception.patch
queue-2.6.39/hwmon-it87-fix-label-group-removal.patch
queue-2.6.39/hwmon-pmbus-use-long-variables-for-register-to-data.patch
queue-2.6.39/hwmon-lm95241-fix-chip-detection-code.patch
queue-2.6.39/hwmon-pmbus-improve-auto-detection-of-temperature-status.patch
queue-2.6.39/hwmon-asus_atk0110-fix-memory-leak.patch
queue-2.6.39/hwmon-lm95241-fix-negative-temperature-results.patch

_______________________________________________
stable mailing list
stable@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to