Skip to content
Commit 6d623c49 authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Paul Gortmaker
Browse files

genirq/timings: Fix next event index function



commit 619c1baa upstream.

The current code is luckily working with most of the interval samples
testing but actually it fails to correctly detect pattern repetition
breaking at the end of the buffer.

Narrowing down the bug has been a real pain because of the pointers,
so the routine is rewrittne by using indexes instead.

Fixes: bbba0e7c "genirq/timings: Add array suffix computation code"
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: andriy.shevchenko@linux.intel.com
Link: https://lkml.kernel.org/r/20190527205521.12091-2-daniel.lezcano@linaro.org


Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 7ae988dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment