[lkml]   [2017]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64
On Sat, Mar 18, 2017 at 10:17:41PM -0700, Deepa Dinamani wrote:
> struct timespec is not y2038 safe.
> Replace the posix_clock ops interfaces to use
> struct timespec64.
> The patch also changes struct itimerspec interfaces to
> struct itimerspec64 as itimerspec internally uses timespec
> and itimerspec64 uses timespec64.
> PTP clocks is the only module that sets up these interfaces.
> All individual drivers rely on PTP class driver for exposure
> to userspace. Hence, the change also deals with fixing up these
> PTP interfaces.
> The patch also changes dynamic posix clock implementation to
> reflect the changes in the functional clock interface.
> Signed-off-by: Deepa Dinamani <>
> ---
> drivers/ptp/ptp_clock.c | 18 +++++++-----------

When changing the PTP code, please put the PTP maintainer onto CC.


 \ /
  Last update: 2017-03-19 19:08    [W:0.107 / U:1.992 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site