george anzinger <george@mvista.com> wrote:
>
> -void do_settimeofday(struct timeval *tv)
> +int do_settimeofday(struct timespec *tv)
> {
> + if ((unsigned long)tv->tv_nsec > NSEC_PER_SEC)
> + return -EINVAL;
> +
Should that be ">="?
Is there any reasonable way to avoid breaking existing
do_settimeofday() implementations? That's just more grief all round.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:22 EST