Re: [rtc-linux] Re: rtc-ds1307.c: array overrun

From: Alessandro Zummo
Date: Tue Jul 24 2007 - 21:39:57 EST


On Sun, 22 Jul 2007 18:17:17 -0700
David Brownell <david-b@xxxxxxxxxxx> wrote:

>
> On Sunday 22 July 2007, Adrian Bunk wrote:
> > The Coverity checker spotted the following array overrun
> > in drivers/rtc/rtc-ds1307.c:
>
> Typo -- thanks, fix is attached.
>
> ======== CUT HERE
> Fix a typo turned up by a Coverity check: referring to the wrong register,
> which could cause problems restarting DS1338 RTCs after their oscillator
> halted. (For example, if the backup battery died.)
>
> Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>


Acked-by: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it

-
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/