qemu/hw/nvram
Peter Maydell b13ba381ca hw/nvram/mac_nvram: Report failure to write data
There's no way for the macio_nvram device to report failure to write
data, but we can at least report it to the user with error_report()
as we do in other devices like xlnx-efuse.

Spotted by Coverity.

Resolves: Coverity CID 1507628
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240312183810.557768-6-peter.maydell@linaro.org
2024-03-25 10:41:01 +00:00
..
chrp_nvram.c
ds1225y.c
eeprom93xx.c
eeprom_at24c.c
fw_cfg-acpi.c acpi: Clean up includes 2024-01-30 21:20:20 +03:00
fw_cfg-interface.c
fw_cfg.c hw/sysbus: Inline and remove sysbus_add_io() 2024-02-22 12:47:40 +01:00
Kconfig
mac_nvram.c hw/nvram/mac_nvram: Report failure to write data 2024-03-25 10:41:01 +00:00
meson.build hw/arm/virt-acpi-build.c: Migrate fw_cfg creation to common location 2024-01-10 18:47:46 +10:00
npcm7xx_otp.c
nrf51_nvm.c hw/nvram: Simplify memory_region_init_rom_device() calls 2024-01-05 16:20:15 +01:00
spapr_nvram.c
trace-events
trace.h
xlnx-bbram.c
xlnx-efuse-crc.c
xlnx-efuse.c
xlnx-versal-efuse-cache.c
xlnx-versal-efuse-ctrl.c
xlnx-zynqmp-efuse.c