lkml.org 
[lkml]   [2015]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rtc-linux] [PATCH 2/5] RTC/i.MX/DryIce: add the unit recovery code
On 22/04/2015 at 01:14:11 +0200, Alexandre Belloni wrote :
> > + sec = __raw_readl(imxdi->ioaddr + DTCMR);
> > + if (sec != 0)
> > + dev_warn(&imxdi->pdev->dev,
> > + "The security violation has happend at %u seconds\n",
>
> Further improvement for this driver: use both DTCMR and DTCLR to be year
> 2038 proof

Please forget that comment I just realized that seconds were counted in
the most significant part...


--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


\
 
 \ /
  Last update: 2015-04-22 02:01    [W:0.051 / U:3.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site