On Fri, Jan 26, 2018 at 6:06 AM, Baolin Wang <baolin.w...@linaro.org> wrote:
> If we convert one large time values to rtc_time, in the original formula
> 'days * 86400' can be overflowed in 'unsigned int' type to make the formula
> get one incorrect remain seconds value. Thus we can use div_s64_rem()
> function to avoid this situation.
>
> Signed-off-by: Baolin Wang <baolin.w...@linaro.org>

Acked-by: Arnd Bergmann <a...@arndb.de>

Reply via email to