Files
kernel_common_drivers/drivers/rtc
yiting.deng d4c7eb4cbb 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-19 03:56:41 -08:00
..