On Tuesday 27 October 2015 13:17:02 Amitoj Kaur Chawla wrote: > This driver uses 'struct timeval' which we are trying to remove since > 32 bit time types will break in the year 2038 by replacing it with > ktime_t. > > This patch changes do_gettimeofday() to ktime_get() because > ktime_get() returns ktime_t while do_gettimeofday() returns struct > timeval. > > This patch also uses ktime_ms_delta() to get the elapsed time in > milliseconds. > > Signed-off-by: Amitoj Kaur Chawla <amitoj1...@gmail.com> > ---
The patch looks good to me, but after checking an old tree of mine, I found that I already have a patch from Tapasweni Pathak for the same thing. For some reason Greg did not apply it to staging back then. I'll send it out to the list for Greg to apply now to ensure this doesn't happen again. Arnd _______________________________________________ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038