diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-20 19:14:24 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-05-03 23:46:25 +0300 |
commit | 0d1c655380be0962842beeb82772bf37820ebda6 (patch) | |
tree | 3d56dc3767bcca51da6ab14a6224cb12a75eadcd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 51ed73eb998a1c79a2b0e9bed68f75a8a2c93b9b (diff) | |
download | linux-0d1c655380be0962842beeb82772bf37820ebda6.tar.xz |
rtc: vr41xx: remove mktime usage
This driver uses mktime() and rtc_time_to_tm() to convert between time
values. This works fine on 64-bit kernels over the whole supported
range, and the vr41xx chip is a 64-bit MIPS implementation, but it is
inconsistent because it doesn't do the same thing on 32-bit kernels that
overflow in 2106 or 2038.
Changing it to use mktime64/rtc_time64_to_tm() should have no visible
impact on vr41xx but gets us closer to removing the 32-bit interfaces.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions