aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timers/valid-adjtimex.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org> 2022-08-02 19:44:56 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2022-08-02 19:44:56 -0700
commite05d5b9c5bbea80313d8f58c3a80a18839b25480 (patch)
tree5ba736408b04c87a0ea3d2a4b758eafd367a2cfa /tools/testing/selftests/timers/valid-adjtimex.c
parentMerge tag 'linux-kselftest-kunit-5.20-rc1' of git://git.kernel.org/pub/scm/li... (diff)
parentMakefile: replace headers_install with headers for kselftest (diff)
downloadlinux-e05d5b9c5bbea80313d8f58c3a80a18839b25480.tar.gz
linux-e05d5b9c5bbea80313d8f58c3a80a18839b25480.tar.bz2
linux-e05d5b9c5bbea80313d8f58c3a80a18839b25480.zip
Merge tag 'linux-kselftest-next-5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull Kselftest updates from Shuah Khan: - timers test build fixes and cleanups for new tool chains - removing khdr from kselftest framework and main Makefile - changes to test output messages to improve reports * tag 'linux-kselftest-next-5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (24 commits) Makefile: replace headers_install with headers for kselftest selftests/landlock: drop deprecated headers dependency selftests: timers: clocksource-switch: adapt to kselftest framework selftests: timers: clocksource-switch: add 'runtime' command line parameter selftests: timers: clocksource-switch: add command line switch to skip sanity check selftests: timers: clocksource-switch: sort includes selftests: timers: clocksource-switch: fix passing errors from child selftests: timers: inconsistency-check: adapt to kselftest framework selftests: timers: nanosleep: adapt to kselftest framework selftests: timers: fix declarations of main() selftests: timers: valid-adjtimex: build fix for newer toolchains Makefile: add headers_install to kselftest targets selftests: drop KSFT_KHDR_INSTALL make target selftests: stop using KSFT_KHDR_INSTALL selftests: drop khdr make target selftests: drivers/dma-buf: Improve message in selftest summary selftests/kcmp: Make the test output consistent and clear selftests:timers: globals don't need initialization to 0 selftests/drivers/gpu: Add error messages to drm_mm.sh selftests/tpm2: increase timeout for kselftests ...
Diffstat (limited to 'tools/testing/selftests/timers/valid-adjtimex.c')
-rw-r--r--tools/testing/selftests/timers/valid-adjtimex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/timers/valid-adjtimex.c b/tools/testing/selftests/timers/valid-adjtimex.c
index 5397de708d3c..48b9a803235a 100644
--- a/tools/testing/selftests/timers/valid-adjtimex.c
+++ b/tools/testing/selftests/timers/valid-adjtimex.c
@@ -40,7 +40,7 @@
#define ADJ_SETOFFSET 0x0100
#include <sys/syscall.h>
-static int clock_adjtime(clockid_t id, struct timex *tx)
+int clock_adjtime(clockid_t id, struct timex *tx)
{
return syscall(__NR_clock_adjtime, id, tx);
}