]> git.ipfire.org Git - thirdparty/linux.git/commit
vdso/gettimeofday: Return bool from clock_getres() helpers
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 1 Jul 2025 08:57:59 +0000 (10:57 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 9 Jul 2025 09:52:34 +0000 (11:52 +0200)
commit34f888e3405acefc3a353227aa850dd0a37e709d
treec1a9a42528d7a27141bd0681f7c7902c467b4f99
parentad64d71d7409a0602b50ee71c7f9663a3385c286
vdso/gettimeofday: Return bool from clock_getres() 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-5-df7d9f87b9b8@linutronix.de
lib/vdso/gettimeofday.c