Re: [Y2038] [PATCH 7/7] Change k_clock nsleep() to use timespec64

2017-03-21 Thread Deepa Dinamani
>> index f608941..97a883a 100644 >> --- a/include/linux/posix-timers.h >> +++ b/include/linux/posix-timers.h >> @@ -94,7 +94,7 @@ struct k_clock { >> int (*clock_adj) (const clockid_t which_clock, struct timex *tx); >> int (*timer_create) (struct k_itimer *timer); >> int

Re: [Y2038] [RESEND PATCH 1/7] time: Delete do_sys_setimeofday()

2017-03-21 Thread Deepa Dinamani
>arch/alpha/kernel/osf_sys.c: In function 'SYSC_osf_settimeofday': >>> arch/alpha/kernel/osf_sys.c:1032:9: error: implicit declaration of function >>> 'do_sys_settimeofday' [-Werror=implicit-function-declaration] > return do_sys_settimeofday(tv ? : NULL, tz ? : NULL); >

Re: [Y2038] [RESEND PATCH 1/7] time: Delete do_sys_setimeofday()

2017-03-21 Thread kbuild test robot
Hi Deepa, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc3 next-20170321] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Deepa-Dinamani/Change-k_clock-interfaces

Re: [Y2038] [PATCH 7/7] Change k_clock nsleep() to use timespec64

2017-03-21 Thread Arnd Bergmann
On Sun, Mar 19, 2017 at 4:57 AM, Deepa Dinamani wrote: > From: Deepa Dinamani > > struct timespec is not y2038 safe. The plan is to > get rid of all uses of timespec internally in the > kernel. Replace uses of timespec with timespec64. > The

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

2017-03-21 Thread Thomas Gleixner
On Tue, 21 Mar 2017, Arnd Bergmann wrote: > On Mon, Mar 20, 2017 at 9:40 PM, Thomas Gleixner wrote: > > On Mon, 20 Mar 2017, Deepa Dinamani wrote: > >> >> -static int ptp_clock_getres(struct posix_clock *pc, struct timespec > >> >> *tp) > >> >> +static int

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

2017-03-21 Thread Arnd Bergmann
On Mon, Mar 20, 2017 at 9:40 PM, Thomas Gleixner wrote: > On Mon, 20 Mar 2017, Deepa Dinamani wrote: >> >> -static int ptp_clock_getres(struct posix_clock *pc, struct timespec *tp) >> >> +static int ptp_clock_getres(struct posix_clock *pc, struct timespec64 >> >> *tp) >> > >>