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

Thomas Weißschuh (Schneider Electric) posted 2 patches 2 months ago
There is a newer version of this series
include/linux/timekeeping.h | 12 +++++++-----
kernel/time/timekeeping.c   | 34 ----------------------------------
2 files changed, 7 insertions(+), 39 deletions(-)
[PATCH 0/2] timekeeping: Annotate auxiliary clock accessors with __must_check
Posted by Thomas Weißschuh (Schneider Electric) 2 months ago
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@linutronix.de>
---
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@linutronix.de>