Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64
- Date: Sun, 19 Mar 2017 19:06:34 +0100
- From: Richard Cochran <richardcochran@xxxxxxxxx>
- Subject: Re: [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 <deepa.kernel@xxxxxxxxx>
> drivers/ptp/ptp_clock.c | 18 +++++++-----------
When changing the PTP code, please put the PTP maintainer onto CC.