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


Groups > linux.kernel > #1394621

Re: [PATCH 1/3] time: Add missing implementation for timespec64_add_safe()

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] time: Add missing implementation for timespec64_add_safe()
Date 2016-05-04 20:40 +0200
Message-ID <rv9Sj-Pg-63@gated-at.bofh.it> (permalink)
References <rtjM6-PX-5@gated-at.bofh.it> <rtjM6-PX-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Apr 29, 2016 at 9:39 AM, Deepa Dinamani <deepa.kernel@gmail.com> wrote:
> timespec64_add_safe() has been defined in time64.h for
> 64 bit systems.
> But, 32 bit systems only have an extern function prototype defined.
> Provide a definition for the above function.
>
> The function will be necessary as part of y2038 changes.
> struct timespec is not y2038 safe. All references to timespec will
> be replaced by struct timespec64. The function is meant to be a
> replacement for timespec_add_safe().
>
> The implementation is similar to timespec_add_safe().
>
> Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
> Cc: John Stultz <john.stultz@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> ---
>  include/linux/time64.h |  4 +---
>  kernel/time/time.c     | 25 +++++++++++++++++++++++++
>  2 files changed, 26 insertions(+), 3 deletions(-)

Looks ok at the first glance. I've queued these up for testing,
however I only got #1 and #3 of the set. Are you hoping these two
patches will go through tip/timers/core or are you looking for acks so
they can go via another tree?

thanks
-john

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


Thread

[PATCH 1/3] time: Add missing implementation for timespec64_add_safe() Deepa Dinamani <deepa.kernel@gmail.com> - 2016-04-29 18:50 +0200
  Re: [PATCH 1/3] time: Add missing implementation for timespec64_add_safe() Deepa Dinamani <deepa.kernel@gmail.com> - 2016-05-04 18:00 +0200
  Re: [PATCH 1/3] time: Add missing implementation for timespec64_add_safe() John Stultz <john.stultz@linaro.org> - 2016-05-04 20:40 +0200

csiph-web