Arnd Bergmann 9506b146fa 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>
2017-11-02 19:08:53 +01:00
..
2017-08-10 11:31:26 -07:00
2017-11-01 17:05:51 +01:00
2017-11-01 17:05:51 +01:00
2016-11-21 17:33:40 +01:00
2016-12-08 17:50:09 +01:00
2017-03-23 08:13:21 +01:00
2017-03-23 08:13:21 +01:00
2015-06-08 14:26:22 -07:00
2017-04-08 12:17:42 +02:00
2017-10-09 09:11:09 +02:00
2017-10-23 14:24:37 +02:00