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
ds1338.c
exynos4210_rtc.c
goldfish_rtc.c
Kconfig
ls7a_rtc.c
m41t80.c
m48t59-internal.h
m48t59-isa.c
m48t59.c
mc146818rtc.c mc146818rtc: rtc_set_time(): initialize tm to zeroes 2023-11-06 15:00:27 +00:00
meson.build
pl031.c
sun4v-rtc.c
trace-events
trace.h
twl92230.c
xlnx-zynqmp-rtc.c