diff options
author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2015-10-29 22:44:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-01 14:54:06 -0800 |
commit | 8ab0f723af247af8dd92196c152c8f1da0254b2f (patch) | |
tree | 6fe10e035147ee34462c215ff24a6061ecf61758 /drivers/usb/chipidea/ci_hdrc_msm.c | |
parent | 18fc4ebdc7057478497682047db5acfb25b35c49 (diff) | |
download | talos-obmc-linux-8ab0f723af247af8dd92196c152c8f1da0254b2f.tar.gz talos-obmc-linux-8ab0f723af247af8dd92196c152c8f1da0254b2f.zip |
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/ci_hdrc_msm.c')
0 files changed, 0 insertions, 0 deletions