Re: [PATCH v1] rtc: rv8803: fix off-by-one in month counting

2022-05-05 Thread Tom Rini
On Tue, Apr 26, 2022 at 09:26:12AM +0200, Oliver Graute wrote: > tm_mon has a range from 0..11, but the RTC expects 1..12. So we adapt > the month accordingly. This was determined when comparing the driver > with the corresponding linux kernel driver. > > Signed-off-by: Oliver Graute > Reviewed-

Re: [PATCH v1] rtc: rv8803: fix off-by-one in month counting

2022-04-26 Thread Heiko Schocher
Hello Oliver, On 26.04.22 09:26, Oliver Graute wrote: > tm_mon has a range from 0..11, but the RTC expects 1..12. So we adapt > the month accordingly. This was determined when comparing the driver > with the corresponding linux kernel driver. > > Signed-off-by: Oliver Graute > --- > drivers/rtc

Re: [PATCH v1] rtc: rv8803: fix off-by-one in month counting

2022-04-26 Thread Michael Walle
Am 2022-04-26 09:26, schrieb Oliver Graute: tm_mon has a range from 0..11, but the RTC expects 1..12. So we adapt the month accordingly. This was determined when comparing the driver with the corresponding linux kernel driver. Signed-off-by: Oliver Graute Reviewed-by: Michael Walle -michael

[PATCH v1] rtc: rv8803: fix off-by-one in month counting

2022-04-26 Thread Oliver Graute
tm_mon has a range from 0..11, but the RTC expects 1..12. So we adapt the month accordingly. This was determined when comparing the driver with the corresponding linux kernel driver. Signed-off-by: Oliver Graute --- drivers/rtc/rv8803.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)