Re: [PATCH] kselftests: timers: Fix inconsistency-check to not ignore first timestamp

From: John Stultz
Date: Tue Jun 13 2017 - 18:54:39 EST


On Tue, Jun 13, 2017 at 3:57 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> When the first timestamp in the list of clock readings was later than
> the second timestamp and all other timestamps were in order, the
> inconsistency was not reported because the index of the out-of-order
> timestamp was equal to the default value.
>
> Cc: John Stultz <john.stultz@xxxxxxxxxx>
> Cc: Prarit Bhargava <prarit@xxxxxxxxxx>
> Cc: Richard Cochran <richardcochran@xxxxxxxxx>
> Signed-off-by: Miroslav Lichvar <mlichvar@xxxxxxxxxx>

Queued up in my tree for testing, targeting 4.13.

thanks
-john