You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib/tst_clocks.c: fix 'tst_clock_gettime()' and 'tst_clock_settime()'
The type of 'struct tst_ts' has to be kept between function calls
because a function can be called with the wrong timespec type.
For that reason, a 'static' identifier is added for 'tts'
in 'tst_clock_gettime()' and 'tst_clock_settime()' as to make sure
the right timespec type is passed in 'clock_gettime()' and
'clock_settime()'.
Signed-off-by: Filip Bozuta <[email protected]>
Reviewed-by: Cyril Hrubis <[email protected]>
0 commit comments