Re: [Y2038] [PATCH] drm/exynos: g2d: Replace struct timeval usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux