summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-02 17:34:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-02 21:08:53 +0300
commit9506b146fad96b2888732a12711d6a3cec5ec4d4 (patch)
treeb6cad5f73ecc4f5de50a4383dbf6abb7eea2b383 /include/linux
parent29ce32ecca842d73cd1c82f540a6fbde5d1ad44b (diff)
downloadlinux-9506b146fad96b2888732a12711d6a3cec5ec4d4.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions