lkml.org 
[lkml]   [2017]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESEND PATCH 3/7] Change k_clock clock_get() to use timespec64
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.

\
 
 \ /
  Last update: 2017-03-19 12:04    [W:0.168 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site