]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/nolibc: add static assertions around time types handling
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 20 Dec 2025 13:55:58 +0000 (14:55 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Tue, 6 Jan 2026 11:08:08 +0000 (12:08 +0100)
commitf3ed932644a671038b31f7f536a066eeef6803b0
tree72deb4ab6d3d2d178f238a3da1a591bba3341e10
parent37219aa5b12326cd60f4586779c687f3394e80f5
selftests/nolibc: add static assertions around time types handling

The nolibc system call wrappers expect the libc types to be compatible
to the kernel types.

Make sure these expectations hold at compile-time.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20251220-nolibc-uapi-types-v3-14-c662992f75d7@weissschuh.net
tools/include/nolibc/sys/timerfd.h
tools/include/nolibc/time.h