2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/tools/testing/selftests/timens
Thomas Weißschuh 1efe202228 selftests/timens: timerfd: Use correct clockid type in tclock_gettime()
tclock_gettime() is a wrapper around clock_gettime().
The first parameter of clock_gettime() is of type "clockid_t",
not "clock_t".

Use the correct type instead.

Link: https://lore.kernel.org/r/20250502-selftests-timens-fixes-v1-3-fb517c76f04d@linutronix.de
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2025-05-09 13:12:57 -06:00
..
.gitignore selftests/timens: add a test for vfork+exit 2022-10-25 15:15:52 -07:00
clock_nanosleep.c selftests/timens: Make run_tests() functions static 2025-05-09 13:12:48 -06:00
config
exec.c selftests/timens: Print TAP headers 2025-05-09 13:12:43 -06:00
futex.c selftests/timens: Print TAP headers 2025-05-09 13:12:43 -06:00
gettime_perf.c selftests/timens: Print TAP headers 2025-05-09 13:12:43 -06:00
log.h
Makefile selftests/timens: add a test for vfork+exit 2022-10-25 15:15:52 -07:00
procfs.c selftests/timens: Print TAP headers 2025-05-09 13:12:43 -06:00
timens.c selftests/timens: Print TAP headers 2025-05-09 13:12:43 -06:00
timens.h selftests/timens: handle a case when alarm clocks are not supported 2020-05-22 13:29:55 -06:00
timer.c selftests/timens: Make run_tests() functions static 2025-05-09 13:12:48 -06:00
timerfd.c selftests/timens: timerfd: Use correct clockid type in tclock_gettime() 2025-05-09 13:12:57 -06:00
vfork_exec.c selftests/timens: Print TAP headers 2025-05-09 13:12:43 -06:00