Re: [Y2038] [RESEND v2] mtd: tests: Replace timeval with ktime_t

2015-10-26 Thread Brian Norris
On Thu, Oct 22, 2015 at 08:29:54PM +0530, Shraddha Barke wrote: > Changes the 32-bit time type timeval to the 64-bit time type > ktime_t, since 32-bit systems using struct timeval will break in the > year 2038. Correspondingly change do_gettimeofday() to ktime_get() > since ktime_get returns a

[Y2038] [PATCH v2] usb: misc: usbtest: Remove timeval usage

2015-10-26 Thread Deepa Dinamani
timeval is deprecated and not y2038 safe. Its size also changes according to 32 bit/ 64 bit compilation. Replace it with 32 and 64 bit versions of its individual fields, giving two ioctls with different code values. The two ioctls are necessary to maintain the 32 bit and 64 bit userspace