diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-12-01 23:14:10 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-01 18:03:14 -0500 |
commit | 952061352acfd24034e6990b6b7d32cded020c0a (patch) | |
tree | 222547f2a356f4d7cba9ae401101a3635cf62583 /arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | |
parent | c1d6e0bbfdb50f9041a42bd4ce3af809a09ff7d1 (diff) |
drivers: rtc: correctly convert seconds to time structure
Variable 'days' must be defined as signed int. Otherwise the conversion
fails for some dates, e.g. 2004-08-25. Cf function rtc_time64_to_tm() in
the Linux kernel source.
Fixes: 992c1db45591 "drivers: rtc: resolve year 2038 problem in rtc_to_tm"
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'arch/arm/dts/meson-gxl-s905x-libretech-cc.dts')
0 files changed, 0 insertions, 0 deletions