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
2024-11-15 04:52:21 -08:00
2024-11-15 04:39:24 -08:00
2024-10-24 04:26:13 -07:00
2024-11-13 19:24:25 -08:00
2024-11-14 23:50:23 -08:00
2024-11-15 04:39:24 -08:00
S
Description
No description provided
118 MiB
Languages
C 98.9%
Perl 0.4%
Makefile 0.4%
Shell 0.2%