aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-11-10 11:45:54 -0500
committerMauro Carvalho Chehab <[email protected]>2017-12-08 11:08:22 -0500
commitcc05c0ba23bbc05d34caeb4773b89e1dfc2598b8 (patch)
treeb53130e723e9d3e9e1bc1b0d3c3daea90e3b93e1 /tools/perf/scripts/python/call-graph-from-sql.py
parent52cf1d964e4ca89ed80f97a8451245c9bb13a63d (diff)
media: pulse8-cec: print time using time64_t
The firmware timestamp is an unsigned 32-bit value, but we copy it into a signed 32-bit variable, so we can theoretically get an overflow in the calculation when the timestamp is between 2038 and 2106. This changes the temporary variable to time64_t and changes the deprecated time_to_tm() over to time64_to_tm() accordingly. There is still an overflow in y2106, but that is a limitation of the firmware interface, not a kernel problem. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions