lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Y2038] [PATCH v3 07/22] posix-timers:Convert to the 64bit methods for the timer_settime syscall function
Date
On Monday 11 May 2015 19:15:52 Baolin Wang wrote:
> +static int default_timer_set64(struct k_itimer *timr, int flags,
> + struct itimerspec64 *new_setting64,
> + struct itimerspec64 *old_setting64)
> +{
> + struct k_clock *kc = clockid_to_kclock(timr->it_clock);
> + struct itimerspec new_setting, old_setting;
> +
> + kc->timer_set(timr, flags, &new_setting, &old_setting);
> + return 0;
> +}
>

As in patch 5, this is missing the conversion to and from the
old types.

Arnd


\
 
 \ /
  Last update: 2015-05-11 19:01    [W:0.032 / U:1.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site