This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Wed Apr 24 12:05:00 2024 Received: from spaans.ds9a.nl (adsl-xs4all.ds9a.nl [213.84.159.51]) by kylie.puddingonline.com (8.11.6/8.11.6) with SMTP id g8IDSHX19349 for ; Wed, 18 Sep 2002 15:28:17 +0200 Received: (qmail 4203 invoked from network); 18 Sep 2002 06:44:01 -0000 Received: from unknown (HELO spaans.ds9a.nl) (3ffe:8280:10:360:202:44ff:fe2a:a1dd) by mayo.ipv6.ds9a.nl with SMTP; 18 Sep 2002 06:44:01 -0000 Received: (qmail 11742 invoked by uid 1000); 17 Sep 2002 20:17:36 -0000 Received: (maildatabase); juh Received: (qmail 7067 invoked by alias); 6 Jun 2001 16:10:10 -0000 Received: (qmail 7064 invoked from network); 6 Jun 2001 16:10:09 -0000 Received: from vger.kernel.org (199.183.24.194) by spaans-smp.ds9a.tudelft.nl with SMTP; 6 Jun 2001 16:10:09 -0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 6 Jun 2001 12:08:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 6 Jun 2001 12:08:08 -0400 Received: from ibis.worldnet.net ([195.3.3.14]:30470 "EHLO ibis.worldnet.net") by vger.kernel.org with ESMTP id ; Wed, 6 Jun 2001 12:08:03 -0400 Received: from m3.worldnet.net (m3.worldnet.net [195.3.3.7]) by ibis.worldnet.net (8.11.3/8.11.1) with ESMTP id f56G7Sg14783; Wed, 6 Jun 2001 18:07:28 +0200 (CEST) (envelope-from bootc@worldnet.fr) Received: from [195.3.46.57] (i46-057.province.worldnet.fr [195.3.46.57]) by m3.worldnet.net (8.11.2/8.11.1) with ESMTP id f56G78M48658; Wed, 6 Jun 2001 18:07:08 +0200 (CEST) (envelope-from bootc@worldnet.fr) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Wed, 06 Jun 2001 18:06:56 +0200 Subject: Re: temperature standard - global config option? From: Chris Boot To: Linux Kernel Cc: "David N. Welton" , Pavel Machek Message-Id: In-Reply-To: <20010606155026.A28950@bug.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org Hi, > Please, don't. > > Use kelvins *0.1, and use them consistently everywhere. This is what > ACPI does, and it is probably right. I'm sorry, by I don't feel like adding 273 to every number I get just to find the temperature of something. What I would do is give configuration options to choose the default (Celsius/centigrade, Kelvin, or [shudder] Fahrenheit) then, when you need to print or output a temperature, send it off to a common converter function so you don't repeat core all over the place. Just my 0.02 Eurocents (what an ugly word). -- Chris Boot bootc@worldnet.fr "Modem error handling really su~c%dk,s.^D^D&x@R*cCKo#?CB,*o#?C!!b %o#? NO CARRIER - 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/