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: 629881 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2C8SfAw017332 for ; Sat, 12 Mar 2011 08:29:02 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A2989EED4 for ; Sat, 12 Mar 2011 00:28:41 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-px0-f181.google.com (mail-px0-f181.google.com [209.85.212.181]) by gabe.freedesktop.org (Postfix) with ESMTP id A7AA29E740 for ; Fri, 11 Mar 2011 20:34:28 -0800 (PST) Received: by pxi3 with SMTP id 3so1232488pxi.26 for ; Fri, 11 Mar 2011 20:34:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=2jV9Z3hn9NPF0Nq8KuYHC4NYQLv6x6vcX7Bavfe8w/g=; b=FTzUK1tYNmA8O7W19W/aJ7WWqI9vO8ISyl8/0qBRPYoniBDZHzpuAQCp9V07UXLwyN yi723e98gbIpOSynSBMA/04Z29efco4hJ+CXzpJ/EeJ1kdk15vlLlafD83dhUMjLQg21 9KAHltmw+rhjNOh/vTihvglPo6pI2SVXZTzhM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Pm4/gfd30EL2Vgy76KRZ1HaxF77sgTWatH8FppAbyg95P/uj/OCKfTaC6xA/ZV/9NK fdwDoESdw/j7pqj9Gb0/HOfY8B2oNF0Jl03Fzs9JJTmp7Ld+WainRmrKH3k7KWeZqGrM 6vHu1lCZwzo6qGqioevE9CgFBxUS5lmdMdjOc= 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 Subject: Re: [ANNOUNCE] cpupowerutils - cpufrequtils extended with quite some features 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) X-Mailman-Approved-At: Sat, 12 Mar 2011 00:26:50 -0800 Cc: Mattia Dongili , dri-devel@lists.freedesktop.org, herrmann.der.user@googlemail.com, 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, Len Brown X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Yong Zhang List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 12 Mar 2011 08:29:02 +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;