Re: [PATCH] misc: ioc4: simplify wave period measurement in clock_calibrate
From: Richard Leitner
Date: Mon Dec 08 2014 - 10:57:53 EST
On Mon, 08 Dec 2014 16:46:31 +0100
Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Monday 08 December 2014 16:28:10 Richard Leitner wrote:
> > Signed-off-by: Richard Leitner <dev@xxxxxxxxxx>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
> 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...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/