aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-resolve.sh
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2025-04-28 10:06:51 +0000
committerAlexandre Belloni <[email protected]>2025-06-01 22:10:18 +0000
commitccb2dba3c19f04d2203a4b630180bf50fe710d22 (patch)
tree4e3bdcd39f19ddfb5043fa743a09b8b81ee8f1b2 /scripts/git-resolve.sh
parentrtc: test: Also test time and wday outcome of rtc_time64_to_tm() (diff)
downloadkernel-ccb2dba3c19f04d2203a4b630180bf50fe710d22.tar.gz
kernel-ccb2dba3c19f04d2203a4b630180bf50fe710d22.zip
rtc: test: Test date conversion for dates starting in 1900
While the RTC framework intends to only handle dates after 1970 for consumers, time conversion must also work for earlier dates to cover e.g. storing dates beyond an RTC's range_max. This is most relevant for the rtc-mt6397 driver that has range_min = RTC_TIMESTAMP_BEGIN_1900; range_max = mktime64(2027, 12, 31, 23, 59, 59); and so needs working support for timestamps in 1900 starting in less than three years. So shift the tested interval of timestamps to also cover years 1900 to 1970. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Alexandre Mergnat <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'scripts/git-resolve.sh')
0 files changed, 0 insertions, 0 deletions