From patchwork Sat Mar 12 04:34:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Zhang X-Patchwork-Id: 633581 Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2EFEW3h000889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 14 Mar 2011 15:14:56 GMT Received: from daredevil.linux-foundation.org (localhost [127.0.0.1]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p2EFBxKp016084; Mon, 14 Mar 2011 08:12:28 -0700 Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p2C4YSgi018812 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Fri, 11 Mar 2011 20:34:29 -0800 Received: by pxi20 with SMTP id 20so689216pxi.13 for ; Fri, 11 Mar 2011 20:34:28 -0800 (PST) Received: by 10.142.135.19 with SMTP id i19mr8197433wfd.288.1299904468011; Fri, 11 Mar 2011 20:34:28 -0800 (PST) Received: from localhost ([125.33.200.255]) by mx.google.com with ESMTPS id n4sm6318716wfl.14.2011.03.11.20.34.16 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2011 20:34:25 -0800 (PST) Date: Sat, 12 Mar 2011 12:34:09 +0800 From: Yong Zhang To: Thomas Renninger Message-ID: <20110312043409.GA3634@zhy> References: <201103111247.00212.trenn@suse.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201103111247.00212.trenn@suse.de> User-Agent: Mutt/1.5.20 (2009-06-14) Received-SPF: pass (localhost is always allowed.) X-Spam-Status: No, hits=-4.374 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SPF_PASS, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.21 X-Mailman-Approved-At: Mon, 14 Mar 2011 07:47:13 -0700 Cc: Mattia Dongili , dri-devel@lists.freedesktop.org, Ingo Molnar , linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org, linux-acpi@vger.kernel.org, linux@dominikbrodowski.net, discuss@lesswatts.org, linux-pm@lists.linux-foundation.org, linux-omap@vger.kernel.org, power@bughost.org Subject: Re: [linux-pm] [ANNOUNCE] cpupowerutils - cpufrequtils extended with quite some features X-BeenThere: linux-pm@lists.linux-foundation.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Yong Zhang List-Id: Linux power management List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 14 Mar 2011 15:15:01 +0000 (UTC) --- utils/helpers/sysfs-orig.c 2011-03-12 12:32:06.179827929 +0800 +++ utils/helpers/sysfs.c 2011-03-12 12:24:36.865599924 +0800 @@ -126,7 +126,7 @@ return 0; } - value = strtoul(linebuf, &endp, 0); + value = strtoull(linebuf, &endp, 0); if ( endp == linebuf || errno == ERANGE ) return 0;