Re: [rtc-linux] [PATCH 2/5] RTC/i.MX/DryIce: add the unit recovery code
From: Alexandre Belloni
Date: Tue Apr 21 2015 - 19:46:57 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/