Re: [patch V3-2 11/51] posix-cpu-timers: Handle SIGEV_NONE timers correctly in timer_set()

From: Frederic Weisbecker
Date: Sun Jun 23 2024 - 15:12:55 EST


Le Sun, Jun 23, 2024 at 01:16:02PM +0200, Thomas Gleixner a écrit :
> Expired SIGEV_NONE oneshot timers must return 0 nsec for the expiry time in
> timer_get(), but the posix CPU timer implementation returns 1 nsec.
>
> Add the missing conditional.
>
> This will be cleaned up in a follow up patch.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>