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


Groups > linux.kernel > #1603958

Re: [RESEND PATCH 3/7] Change k_clock clock_get() to use timespec64

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH 3/7] Change k_clock clock_get() to use timespec64
Date 2017-03-19 12:10 +0100
Message-ID <tmGSL-4Ke-27@gated-at.bofh.it> (permalink)
References <tmBzH-XZ-5@gated-at.bofh.it> <tmBzI-XZ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 18 Mar 2017, Deepa Dinamani wrote:
> -	int (*clock_get) (const clockid_t which_clock, struct timespec * tp);
> +	int (*clock_get) (const clockid_t which_clock, struct timespec64 * tp);

If you change things, then please fixup the white space noise as well '*tp'
is the proper syntax.

> @@ -1033,12 +1033,14 @@ SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock,
>  {
>  	struct k_clock *kc = clockid_to_kclock(which_clock);
>  	struct timespec kernel_tp;
> +	struct timespec64 kernel_tp64;

Ordering please

Other than the nitpicks, this looks good.

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