Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759978AbYFWRLt (ORCPT ); Mon, 23 Jun 2008 13:11:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755512AbYFWRLm (ORCPT ); Mon, 23 Jun 2008 13:11:42 -0400 Received: from emerald.lightlink.com ([64.57.176.19]:16385 "EHLO emerald.lightlink.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752146AbYFWRLl (ORCPT ); Mon, 23 Jun 2008 13:11:41 -0400 Date: Mon, 23 Jun 2008 13:06:57 -0400 From: "Mark M. Hoffman" To: Rene Herman Cc: Linus Torvalds , Hans de Goede , Zhang Rui , Jean Delvare , linux-acpi@vger.kernel.org, lm-sensors@lm-sensors.org, Linux Kernel Subject: Re: [PATCH 2.6.26-rc] ACPI Thermal Zone driver breaks lm-sensors 2 userspace Message-ID: <20080623170657.GK7306@mars.solarsys.private> References: <485FBBE6.9000104@keyaccess.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <485FBBE6.9000104@keyaccess.nl> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1150 Lines: 39 Linus, Rene, et al: * Rene Herman [2008-06-23 17:06:14 +0200]: > drivers/thermal/thermal_sys.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c > index 6098787..c21e03c 100644 > --- a/drivers/thermal/thermal_sys.c > +++ b/drivers/thermal/thermal_sys.c > @@ -357,7 +357,7 @@ thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) > > INIT_LIST_HEAD(&hwmon->tz_list); > strlcpy(hwmon->type, tz->type, THERMAL_NAME_LENGTH); > - hwmon->device = hwmon_device_register(NULL); > + hwmon->device = hwmon_device_register(&tz->device); > if (IS_ERR(hwmon->device)) { > result = PTR_ERR(hwmon->device); > goto free_mem; NACK. 1) The bug is in libsensors (2.10), not the kernel. - but more importantly - 2) This patch is broken. Regards, -- Mark M. Hoffman mhoffman@lightlink.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/