]> git.ipfire.org Git - thirdparty/linux.git/commit
vdso/gettimeofday: Return bool from clock_gettime() helpers
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 1 Jul 2025 08:58:00 +0000 (10:58 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 18 Jul 2025 11:45:32 +0000 (13:45 +0200)
commitfb61bdb27fd730c393a8bddbda2401c37a919667
treeaba327541c535b303c0a1f1d2ef3c97b06133265
parent34f888e3405acefc3a353227aa850dd0a37e709d
vdso/gettimeofday: Return bool from clock_gettime() helpers

The internal helpers are effectively using boolean results,
while pretending to use error numbers.

Switch the return type to bool for more clarity.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250701-vdso-auxclock-v1-6-df7d9f87b9b8@linutronix.de
lib/vdso/gettimeofday.c