Re: [PATCH v2 4/6] rtc: parisc: provide rtc_class_ops directly

From: Arnd Bergmann
Date: Wed Apr 27 2016 - 06:11:15 EST


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