On Wednesday 18 November 2015 21:10:26 Amitoj Kaur Chawla wrote:
32 bit systems using 'time_t' will break in the year 2038, so we modify the code appropriately.
This patch removes the cast to 'time_t' in the assignment statement since we are eventually removing the time_t definition from the kernel as an effort to solve the y2038 problem. This change will avoid the build error but the code is still broken and requires a change in the ioctl interface.
Further, since the variable io_profile_start_time will break in 2038 or 2106 depending on user space interpreting it as signed or unsigned, comments have been added to highlight the same.
Signed-off-by: Amitoj Kaur Chawla amitoj1606@gmail.com
Both patches look ok now, thanks for keeping up the work.
Arnd