Change k_clock interfaces to use timespec64
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 0 repliesNew
- v1 posting 2/27 patches 13 repliesSuperseded
- v1 posting 1/27 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Address review comments for change logs and coding style.
* Fix kbuild test error for alpha.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | time: Delete do_sys_setimeofday()arch/ include/ kernel/ +3 more | +15 | 0 replies | |
| 2/7 | time: Change posix clocks ops interfaces to use timespec64drivers/ include/ kernel/ | +36 | 0 replies | |
| 3/7 | Change k_clock clock_get() to use timespec64drivers/ include/ include/ +5 more | +41 | 0 replies | |
| 4/7 | Change k_clock clock_getres() to use timespec64drivers/ include/ kernel/ +3 more | +15 | 0 replies | |
| 5/7 | Change k_clock clock_set() to use timespec64drivers/ include/ kernel/ +2 more | +10 | 0 replies | |
| 6/7 | Change k_clock timer_set() and timer_get() to use timespec64drivers/ include/ kernel/ +3 more | +66 | 0 replies | |
| 7/7 | Change k_clock nsleep() to use timespec64include/ include/ kernel/ +5 more | +42 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] Change k_clock interfaces to use timespec64
The series is aimed at replacing struct timespec which is not y2038 safe with y2038 safe struct timespec64 for k_clock interfaces. The series also replaces struct itimerspec which uses struct timespec internally with struct itimerspec64 for the k_clock interfaces.
The series does not change the syscall interface.
This will be done in a follow up series.
A few existing checkpatch-noted style issues, such as the 80 line character limit, have been left as-is to facilitate easier review.
Changes since v1:
* Address review comments for change logs and coding style.
* Fix kbuild test error for alpha.
Deepa Dinamani (7):
time: Delete do_sys_setimeofday()
time: Change posix clocks ops interfaces to use timespec64 Change k_clock clock_get() to use timespec64 Change k_clock clock_getres() to use timespec64 Change k_clock clock_set() to use timespec64 Change k_clock timer_set() and timer_get() to use timespec64 Change k_clock nsleep() to use timespec64
arch/alpha/kernel/osf_sys.c | 4 +- drivers/char/mmtimer.c | 28 ++++++------- drivers/ptp/ptp_clock.c | 18 ++++---- include/linux/hrtimer.h | 2 +- include/linux/posix-clock.h | 10 ++--- include/linux/posix-timers.h | 20 ++++----- include/linux/timekeeping.h | 20 +++------ kernel/compat.c | 10 +++-- kernel/time/alarmtimer.c | 24 +++++------ kernel/time/hrtimer.c | 10 +++-- kernel/time/posix-clock.c | 10 ++--- kernel/time/posix-cpu-timers.c | 66 +++++++++++++++-------------- kernel/time/posix-stubs.c | 20 ++++++--- kernel/time/posix-timers.c | 95 ++++++++++++++++++++++++------------------ kernel/time/time.c | 4 +- 15 files changed, 179 insertions(+), 162 deletions(-)
Signature · 9 lines
2.7.4 Cc: Richard Cochran <[email protected]> Cc: [email protected] Cc: [email protected] _______________________________________________ Y2038 mailing list [email protected] https://lists.linaro.org/mailman/listinfo/y2038