Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1604065

Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64

From Richard Cochran <richardcochran@gmail.com>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64
Date 2017-03-19 19:10 +0100
Message-ID <tmNrc-108-29@gated-at.bofh.it> (permalink)
References <tmBzH-XZ-5@gated-at.bofh.it> <tmBzI-XZ-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>
> ---
>  drivers/ptp/ptp_clock.c     | 18 +++++++-----------

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

Thanks,
Richard

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND PATCH 0/7] Change k_clock interfaces to use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-19 06:30 +0100
  [RESEND PATCH 1/7] time: Delete do_sys_setimeofday() Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-19 06:30 +0100
    Re: [RESEND PATCH 1/7] time: Delete do_sys_setimeofday() Thomas Gleixner <tglx@linutronix.de> - 2017-03-19 12:00 +0100
    Re: [RESEND PATCH 1/7] time: Delete do_sys_setimeofday() kbuild test robot <lkp@intel.com> - 2017-03-21 18:30 +0100
      Re: [RESEND PATCH 1/7] time: Delete do_sys_setimeofday() Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-21 20:00 +0100
  [RESEND PATCH 3/7] Change k_clock clock_get() to use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-19 06:30 +0100
    Re: [RESEND PATCH 3/7] Change k_clock clock_get() to use  timespec64 Thomas Gleixner <tglx@linutronix.de> - 2017-03-19 12:10 +0100
  [RESEND PATCH 5/7] Change k_clock clock_set() to use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-19 06:30 +0100
  [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-19 06:30 +0100
    Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to  use timespec64 Thomas Gleixner <tglx@linutronix.de> - 2017-03-19 12:00 +0100
      Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to  use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-20 21:40 +0100
        Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to  use timespec64 Thomas Gleixner <tglx@linutronix.de> - 2017-03-20 21:50 +0100
          Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to  use timespec64 Arnd Bergmann <arnd@arndb.de> - 2017-03-21 09:20 +0100
            Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to  use timespec64 Thomas Gleixner <tglx@linutronix.de> - 2017-03-21 10:10 +0100
      Re: [Y2038] [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64 Tomoyoshi ASANO <asa@lineo.co.jp> - 2017-03-20 23:50 +0100
    Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to  use timespec64 Richard Cochran <richardcochran@gmail.com> - 2017-03-19 19:10 +0100
      Re: [RESEND PATCH 2/7] time: Change posix clocks ops interfaces to  use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-20 21:40 +0100
  [RESEND PATCH 7/7] Change k_clock nsleep() to use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-19 06:30 +0100
  [RESEND PATCH 6/7] Change k_clock timer_set() and timer_get() to use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-19 06:30 +0100
  Re: [RESEND PATCH 0/7] Change k_clock interfaces to use timespec64 Thomas Gleixner <tglx@linutronix.de> - 2017-03-19 12:10 +0100
    Re: [RESEND PATCH 0/7] Change k_clock interfaces to use timespec64 Deepa Dinamani <deepa.kernel@gmail.com> - 2017-03-20 21:40 +0100

csiph-web