Re: [RESEND PATCH 1/3] rtc: Use time64_t to save range_max of RTC

2018-03-07 Thread Baolin Wang
Hi Alexandre, On 8 March 2018 at 06:54, Alexandre Belloni wrote: > Hi, > > On 26/02/2018 at 16:33:56 +0800, Baolin Wang wrote: >> We need use rtc->range_max to valid if the time values are valid, >> and the time values are saved by time64_t type. So change the >> rtc->range_max to time64_t type f

Re: [RESEND PATCH 1/3] rtc: Use time64_t to save range_max of RTC

2018-03-07 Thread Alexandre Belloni
Hi, On 26/02/2018 at 16:33:56 +0800, Baolin Wang wrote: > We need use rtc->range_max to valid if the time values are valid, > and the time values are saved by time64_t type. So change the > rtc->range_max to time64_t type for comparison correctly. > I'm not applying this one because the describe

[RESEND PATCH 1/3] rtc: Use time64_t to save range_max of RTC

2018-02-26 Thread Baolin Wang
We need use rtc->range_max to valid if the time values are valid, and the time values are saved by time64_t type. So change the rtc->range_max to time64_t type for comparison correctly. Signed-off-by: Baolin Wang --- include/linux/rtc.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d