aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-04-20 18:14:26 +0200
committerAlexandre Belloni <[email protected]>2018-05-03 22:46:25 +0200
commit7982df86711d06bfb88c74d9da16bf9f8e99cbaf (patch)
treea244d19c44309c5c04ef457b3559360c01fa34b4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent337fa19cc31541e2574dacbde8def1abe05a8739 (diff)
rtc: tps6586x: remove mktime usage
The tps6586x use a 64-bit 'epoch_start' value, but then computes that value using an 'mktime()', which has a smaller range and overflows in 2106 at the latest. As both the hardware and the subsystem interface support wider than 32-bit ranges for rtc times here, let's change all the operations on 'seconds' to time64_t. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions