diff options
author | 2015-10-29 22:44:31 -0700 | |
---|---|---|
committer | 2015-12-01 14:54:06 -0800 | |
commit | 8ab0f723af247af8dd92196c152c8f1da0254b2f (patch) | |
tree | 6fe10e035147ee34462c215ff24a6061ecf61758 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | usb: misc: usbtest: Remove timeval usage (diff) | |
download | linux-dev-8ab0f723af247af8dd92196c152c8f1da0254b2f.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions