[PATCH 0/2] timekeeping: Annotate auxiliary clock accessors with __must_check

From: Thomas Weißschuh (Schneider Electric)

Date: Fri Jul 31 2026 - 10:26:05 EST


In contrast to the classic time accessors, the ones for auxiliary clocks
can fail.

Make sure the callers check for this.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@xxxxxxxxxxxxx>
---
Thomas Weißschuh (Schneider Electric) (2):
timekeeping: Remove the unused ktime_get_clock_ts64()
timekeeping: Annotate auxiliary clock accessors with __must_check

include/linux/timekeeping.h | 12 +++++++-----
kernel/time/timekeeping.c | 34 ----------------------------------
2 files changed, 7 insertions(+), 39 deletions(-)
---
base-commit: ecc330e3096173f433659aa64ab3674d0d48440e
change-id: 20260622-timekeeping-aux-must-check-1db2a27cceb0

Best regards,
--
Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>