All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH] hwmon: (it87) Fix label group removal
@ 2011-07-11 17:35 Jean Delvare
  2011-07-11 18:44 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2011-07-11 17:35 UTC (permalink / raw)
  To: lm-sensors

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 <khali@linux-fr.org>
Cc: stable@kernel.org
---
 drivers/hwmon/it87.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.0-rc6.orig/drivers/hwmon/it87.c	2011-05-30 20:45:09.000000000 +0200
+++ linux-3.0-rc6/drivers/hwmon/it87.c	2011-07-11 18:34:43.000000000 +0200
@@ -1538,7 +1538,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 */


-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon: (it87) Fix label group removal
  2011-07-11 17:35 [lm-sensors] [PATCH] hwmon: (it87) Fix label group removal Jean Delvare
@ 2011-07-11 18:44 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2011-07-11 18:44 UTC (permalink / raw)
  To: lm-sensors

On Mon, 2011-07-11 at 13:35 -0400, Jean Delvare wrote:
> 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 <khali@linux-fr.org>
> Cc: stable@kernel.org

Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>



_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-11 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-11 17:35 [lm-sensors] [PATCH] hwmon: (it87) Fix label group removal Jean Delvare
2011-07-11 18:44 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.