On Wednesday 27 April 2016 08:22:24 kbuild test robot wrote:
256
257 memset(tm, 0, sizeof(*tm));
258 if (pdc_tod_read(&tod_data) < 0)
259 return -EOPNOTSUPP;
260
261 /* we treat tod_sec as unsigned, so this can work until year 2106 */
> 262 rtc_time64_to_tm(tod_data.tod_sec, &tm);
263 return rtc_valid_tm(tm);
264 }
Fixed, thanks!
Arnd
Thread (12 messages)
12 messages,
3 authors,
last reply 2016-04-27