Re: [patch 03/44] posix-timer: Use a callback for cancel synchronization

Frederic Weisbecker
2019-08-20T13:59:48Z

On Mon, Aug 19, 2019 at 04:31:44PM +0200, Thomas Gleixner wrote:
> -static struct k_itimer *timer_wait_running(struct k_itimer *timer,
> - unsigned long *flags)
> -{
> - timer_t timer_id = READ_ONCE(timer->it_id);
> + if (!WARN_ON_ONCE(kc->timer_wait_running))
> + kc->timer_wait_running(timer);

With the fix after Christoph pinpoint:

Reviewed-by: Frederic Weisbecker <frederic@kernel.org>