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 rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
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 rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
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 hw/loongarch: Add LoongArch ls7a rtc device support 2022-06-06 18:14:13 +00:00
ls7a_rtc.c hw/rtc/ls7a_rtc: Drop unused inline functions 2022-07-05 16:17:53 +05:30
m41t80.c Replace qemu_gettimeofday() with g_get_real_time() 2022-04-06 10:50:37 +02:00
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 rtc: Have event RTC_CHANGE identify the RTC by QOM path 2022-02-28 11:39:35 +01:00
sun4v-rtc.c
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
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 rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00