Re: [PATCH v2 07/10] rtc: Introduce RTC_TIMESTAMP_END_2255

2020-09-10 Thread Jonathan Neuschäfer
On Tue, Sep 08, 2020 at 11:39:46AM +0200, Alexandre Belloni wrote: > On 05/09/2020 15:32:27+0200, Jonathan Neuschäfer wrote: [...] > > #define RTC_TIMESTAMP_END_2079 3471292799LL /* 2079-12-31 > > 23:59:59 */ > > #define RTC_TIMESTAMP_END_2099 4102444799LL /* 2099-12-31

Re: [PATCH v2 07/10] rtc: Introduce RTC_TIMESTAMP_END_2255

2020-09-08 Thread Alexandre Belloni
On 05/09/2020 15:32:27+0200, Jonathan Neuschäfer wrote: > Some RTCs store the year as an 8-bit number relative to the year 2000. > This results in a maximum timestamp of 2255-12-31 23:59:59. > > Signed-off-by: Jonathan Neuschäfer > --- > > v2: > - New patch > --- > include/linux/rtc.h | 1 + >

[PATCH v2 07/10] rtc: Introduce RTC_TIMESTAMP_END_2255

2020-09-05 Thread Jonathan Neuschäfer
Some RTCs store the year as an 8-bit number relative to the year 2000. This results in a maximum timestamp of 2255-12-31 23:59:59. Signed-off-by: Jonathan Neuschäfer --- v2: - New patch --- include/linux/rtc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/rtc.h b/include/lin