Re: [PATCH] rtc: rzn1: fix BCD to rtc_time conversion errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/11/2024 10:30:40+0100, Wolfram Sang wrote:
> On Fri, Nov 15, 2024 at 08:36:05PM +0100, Miquel Raynal wrote:
> > Hello Wolfram,
> > 
> > On 13/11/2024 at 12:30:32 +01, Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
> > 
> > > tm_mon describes months from 0 to 11, but the register contains BCD from
> > > 1 to 12. tm_year contains years since 1900, but the BCD contains 20XX.
> > > Apply the offsets when converting these numbers.
> > >
> > > Fixes: deeb4b5393e1 ("rtc: rzn1: Add new RTC driver")
> > 
> > Should probably be Cc'd to stable?
> > 
> > Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
> 
> Thanks, Alexandre do you want me to resend CCing stable?
> 

No, this is fine, I believe it is going to be picked up anyway.


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux