rtc: interface: silence KMSAN warning
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 8 Apr 2025 14:42:03 +0000 (16:42 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 24 May 2025 21:31:12 +0000 (23:31 +0200)
commitd8a0f6af1d36806d05883bdc5684aeae3689f927
treedcc5b454be75fc517d92b7793f1d63b42fe23676
parentd370586746466166a57b709bfce8301f2adf97a0
rtc: interface: silence KMSAN warning

KMSAN complains that alarm->time can be used uninitialized. Pass 0 to
trace_rtc_read_alarm in case it has not been set.

Link: https://lore.kernel.org/r/20250408144203.3869821-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/interface.c