diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-20 19:14:26 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-05-03 23:46:25 +0300 |
commit | 7982df86711d06bfb88c74d9da16bf9f8e99cbaf (patch) | |
tree | a244d19c44309c5c04ef457b3559360c01fa34b4 /kernel/gcov | |
parent | 337fa19cc31541e2574dacbde8def1abe05a8739 (diff) | |
download | linux-7982df86711d06bfb88c74d9da16bf9f8e99cbaf.tar.xz |
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 <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions