Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757572AbZFQQM6 (ORCPT ); Wed, 17 Jun 2009 12:12:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755537AbZFQQMu (ORCPT ); Wed, 17 Jun 2009 12:12:50 -0400 Received: from Cpsmtpm-eml106.kpnxchange.com ([195.121.3.10]:57511 "EHLO CPSMTPM-EML106.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755454AbZFQQMu (ORCPT ); Wed, 17 Jun 2009 12:12:50 -0400 From: Frans Pop To: Ingo Molnar Subject: Re: [PATCH]x86-tsc.c : fix compile warning Date: Wed, 17 Jun 2009 18:12:49 +0200 User-Agent: KMail/1.9.9 Cc: Subrata Modak , "Figo.zhang" , lkml , Sumit Panchasara , "'Sachin P Sant'" , "'H. Peter Anvin'" , "'Andi Kleen'" , "'Thomas Gleixner'" , "'Balbir Singh'" , Jaswinder Singh Rajput References: <1245247057.3312.2.camel@myhost> <1245248241.4870.12.camel@subratamodak.linux.ibm.com> <20090617152802.GB6042@elte.hu> In-Reply-To: <20090617152802.GB6042@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906171812.51478.elendil@planet.nl> X-OriginalArrivalTime: 17 Jun 2009 16:12:52.0056 (UTC) FILETIME=[77186580:01C9EF66] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 21 On Wednesday 17 June 2009, Ingo Molnar wrote: > Ah, and you fixed in what a superior way: you improved the code in > the process :-) This is how warnings should be fixed really. Hmm. Did you also see Pavel's reply to that patch [1]: ! But that's a bug to be fixed, I'd say? ... actually I believe you are ! introducing a bug here. Yes, old code would put random numbers in ! loops_per_jiffy_ref for !CPUFREQ_CONST_LOOPS, but you are introducing ! oops there. Was his comment incorrect? Cheers, FJP [1] http://lkml.org/lkml/2009/5/24/159 -- 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/