Re: [Y2038] [PATCH v3 07/22] posix-timers:Convert to the 64bit methods for the timer_settime syscall function

From: Arnd Bergmann
Date: Mon May 11 2015 - 12:33:01 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/