diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-02 15:34:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-02 19:08:53 +0100 |
commit | 9506b146fad96b2888732a12711d6a3cec5ec4d4 (patch) | |
tree | b6cad5f73ecc4f5de50a4383dbf6abb7eea2b383 /arch/powerpc/Kconfig.debug | |
parent | 29ce32ecca842d73cd1c82f540a6fbde5d1ad44b (diff) |
usb: xhci: tegra: use time64_t for printing timestamp
The time_t type and time_to_tm() function are deprecated because
of y2038 problems. In this driver, they are used to pretty-print
the timestamp of the firmware build. This is fine as long as
we don't get a firmware build past 2038.
Converting to time64_t and time64_to_tm() avoids the deprecated
interfaces and works until 2106, when the firmware-defined
data structure overflows.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions