Files
kernel_common_drivers/drivers/rtc
yiting.deng 8dad33cba8 vrtc: fix 5.15 read alarm warning in probe [1/1]
PD#SWPL-192783

Problem:
insmod rtc will reads alarm and converts it to standard time.
UBSAN detects that the alarm is converted to the standard time and
a data overflow warning is generated

Solution:
fix code

Verify:
s7

Change-Id: Ic6e44831b76338e52131cc046dd35d6358fcc5f8
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-11-20 15:48:03 +08:00
..