qemu-e2k/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 hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
eeprom93xx.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
eeprom_at24c.c hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
fw_cfg-acpi.c acpi: Clean up includes 2024-01-30 21:20:20 +03:00
fw_cfg-interface.c hw/nvram: Always register FW_CFG_DATA_GENERATOR_INTERFACE 2020-10-12 11:50:20 -04:00
fw_cfg.c hw/sysbus: Inline and remove sysbus_add_io() 2024-02-22 12:47:40 +01:00
Kconfig hw/nvram: Introduce Xilinx battery-backed ram 2021-09-30 13:42:10 +01:00
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 hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
nrf51_nvm.c hw/nvram: Simplify memory_region_init_rom_device() calls 2024-01-05 16:20:15 +01:00
spapr_nvram.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h
xlnx-bbram.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
xlnx-efuse-crc.c hw/nvram: Introduce Xilinx eFuse QOM 2021-09-30 13:42:09 +01:00
xlnx-efuse.c hw/nvram/xlnx-efuse: Free XlnxEFuse::ro_bits[] array on finalize() 2023-11-27 15:27:43 +00:00
xlnx-versal-efuse-cache.c hw/nvram: Introduce Xilinx Versal eFuse device 2021-09-30 13:42:10 +01:00
xlnx-versal-efuse-ctrl.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
xlnx-zynqmp-efuse.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00