Files
kernel_common_drivers/drivers/rtc
yiting.deng 4b5a486dfa vrtc: fix 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:
sc2

Change-Id: Ia9aacddfa97d15e2019d927cc54747fee539675b
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-11-17 19:54:19 -08:00
..
2023-12-14 16:55:55 +08:00
2024-11-03 22:51:46 -07:00