summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorTina Ruchandani <ruchandani.tina@gmail.com>2015-10-29 22:44:31 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-01 14:54:06 -0800
commit8ab0f723af247af8dd92196c152c8f1da0254b2f (patch)
tree6fe10e035147ee34462c215ff24a6061ecf61758 /drivers/usb/chipidea
parent18fc4ebdc7057478497682047db5acfb25b35c49 (diff)
downloadlinux-8ab0f723af247af8dd92196c152c8f1da0254b2f.tar.bz2
USB: usbmon: Use 64bit timestamp for mon_bin_hdr
struct mon_bin_hdr allows for a 64-bit seconds timestamp. The code currently uses 'struct timeval' to populate the timestamp in mon_bin_hdr, which has a 32-bit seconds field and will overflow in year 2038 and beyond. This patch replaces 'struct timeval' with 'struct timespec64' which is y2038 safe. This patch is part of a larger attempt to remove instances of struct timeval and other 32-bit timekeeping (time_t, struct timespec) from the kernel. Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
0 files changed, 0 insertions, 0 deletions