On Monday 01 June 2015 08:36:18 Tina Ruchandani wrote:
> -       do_gettimeofday(&now);
> +       getnstimeofday64(&now);
>         e->event.tv_sec = now.tv_sec;
> -       e->event.tv_usec = now.tv_usec;
> +       e->event.tv_usec = (now.tv_nsec / NSEC_PER_USEC);
>         e->event.cmdlist_no = cmdlist_no;
> 

This has the same problem as the ipp patch: e->event.tv_sec is
a 32-bit variable, so this will still overflow, and the patch
has no effect.

        Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to