Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755872AbaLHP5t (ORCPT ); Mon, 8 Dec 2014 10:57:49 -0500 Received: from relay01.alfahosting-server.de ([109.237.142.236]:39147 "EHLO relay01.alfahosting-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754953AbaLHP5s (ORCPT ); Mon, 8 Dec 2014 10:57:48 -0500 X-Spam-DCC: : Date: Mon, 8 Dec 2014 16:58:17 +0100 From: Richard Leitner To: Arnd Bergmann Cc: Greg Kroah-Hartman , Prabhakar Lad , LKML , Andrew Morton Subject: Re: [PATCH] misc: ioc4: simplify wave period measurement in clock_calibrate Message-ID: <20141208165817.52d03794@frodo> In-Reply-To: <3564575.fggPKDmMEE@wuerfel> References: <20141208132720.16356743@frodo> <20141208162810.7b009382@frodo> <3564575.fggPKDmMEE@wuerfel> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checker-Version: clamassassin 1.2.4 with ClamAV 0.97.3/19749/Mon Dec 8 12:41:14 2014 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 08 Dec 2014 16:46:31 +0100 Arnd Bergmann wrote: > On Monday 08 December 2014 16:28:10 Richard Leitner wrote: > > > > Signed-off-by: Richard Leitner > > Acked-by: Arnd Bergmann > > > With the changed loop, do you still get a warning if you > remove the extra 'start = ktime_get_ns()' at the start of the loop? > Yes. Although IOC4_CALIBRATE_DISCARD is smaller than IOC4_CALIBRATE_END and there's no more break in the loop, it seems gcc doesn't get it... regards, richard -- 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/