qemu-e2k/hw/rtc
Vladimir Sementsov-Ogievskiy 394bca2fa4 mc146818rtc: rtc_set_time(): initialize tm to zeroes
set_time() function doesn't set all the fields, so it's better to
initialize tm structure. And Coverity will be happier about it.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Maksim Davydov <davydov-max@yandex-team.ru>
Message-id: 20231017125941.810461-4-vsementsov@yandex-team.ru
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2023-11-06 15:00:27 +00:00
..
allwinner-rtc.c
aspeed_rtc.c hw/rtc/aspeed_rtc: Use 64-bit offset for holding time_t difference 2023-08-31 09:45:18 +01:00
ds1338.c
exynos4210_rtc.c hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
goldfish_rtc.c goldfish_rtc: Add big-endian property 2022-09-04 07:02:56 +01:00
Kconfig
ls7a_rtc.c
m41t80.c
m48t59-internal.h
m48t59-isa.c hw/isa: Remove empty ISADeviceClass structure 2023-02-27 22:29:01 +01:00
m48t59.c hw/rtc/m48t59: Use 64-bit arithmetic in set_alarm() 2023-08-31 09:45:17 +01:00
mc146818rtc.c mc146818rtc: rtc_set_time(): initialize tm to zeroes 2023-11-06 15:00:27 +00:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
pl031.c
sun4v-rtc.c
trace-events
trace.h
twl92230.c hw/rtc/twl92230: Use int64_t for sec_offset and alm_sec 2023-08-31 09:45:18 +01:00
xlnx-zynqmp-rtc.c