Files
Linux/kernel
Andrei Vagin 07d7e12091 alarmtimer: Return correct remaining time
To calculate a remaining time, it's required to subtract the current time
from the expiration time. In alarm_timer_remaining() the arguments of
ktime_sub are swapped.

Fixes: d653d8457c ("alarmtimer: Implement remaining callback")
Signed-off-by: Andrei Vagin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: John Stultz <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-10 15:23:26 +02:00
..
…
…
…
…
…
…
…
…
…
2019-02-01 20:55:38 +01:00
…
…
…
…
…
2018-12-28 12:42:30 -08:00
2018-10-31 08:54:16 -07:00
…
…
…
…
…
…
…
2019-01-11 18:05:40 -08:00
…