summaryrefslogtreecommitdiffstats
path: root/kernel/irq/devres.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2019-05-27 22:55:14 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-06-12 10:47:03 +0200
commit619c1baa91b2820eae9ff5d89eb525df81ea7a5a (patch)
treee6ed9f8be8090fc55b7104a0225832dab5c2c5ff /kernel/irq/devres.c
parentgenirq/irqdomain: Remove WARN_ON() on out-of-memory condition (diff)
downloadlinux-619c1baa91b2820eae9ff5d89eb525df81ea7a5a.tar.xz
linux-619c1baa91b2820eae9ff5d89eb525df81ea7a5a.zip
genirq/timings: Fix next event index function
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: bbba0e7c5cda "genirq/timings: Add array suffix computation code" Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: andriy.shevchenko@linux.intel.com Link: https://lkml.kernel.org/r/20190527205521.12091-2-daniel.lezcano@linaro.org
Diffstat (limited to 'kernel/irq/devres.c')
0 files changed, 0 insertions, 0 deletions