qemu/hw
Philippe Mathieu-Daudé 5c9f464531 hw/acpi/erst: Do not ignore Error* in realize handler
erst_realizefn() passes @errp to functions without checking for
failure.  If it runs into another failure, it trips error_setv()'s
assertion.

Use the ERRP_GUARD() macro and check *errp, as suggested in commit
ae7c80a7bd ("error: New macro ERRP_GUARD()").

Cc: qemu-stable@nongnu.org
Fixes: f7e26ffa59 ("ACPI ERST: support for ACPI ERST feature")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20231120130017.81286-1-philmd@linaro.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 20bc50137f3add52eb4788b420d717de27fed14b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-12-13 18:51:00 +03:00
..
9pfs hw/9pfs: spelling fixes 2023-07-25 17:15:47 +03:00
acpi hw/acpi/erst: Do not ignore Error* in realize handler 2023-12-13 18:51:00 +03:00
adc
alpha
arm hw/arm/boot: Set SCR_EL3.FGTEn when booting kernel 2023-10-03 02:00:54 +03:00
audio hw/audio/hda-codec: fix multiplication overflow 2023-12-05 12:32:36 +03:00
avr hw/avr/atmega: Fix wrong initial value of stack pointer 2023-12-05 12:32:36 +03:00
block hw/xen: use correct default protocol for xen-block on x86 2023-11-09 16:39:13 +03:00
char hw/char/riscv_htif: Fix the console syscall on big endian hosts 2023-09-21 19:35:19 +03:00
core util/uuid: Add UUID_STR_LEN definition 2023-11-09 16:39:13 +03:00
cpu
cris
cxl hw/cxl: Fix CFMW config memory leak 2023-10-03 02:00:54 +03:00
display ati-vga: Implement fallback for pixman routines 2023-11-09 16:39:13 +03:00
dma
gpio
hppa
hyperv util/uuid: Add UUID_STR_LEN definition 2023-11-09 16:39:13 +03:00
i2c hw/i2c/aspeed: Fix TXBUF transmission start position error 2023-09-21 19:35:19 +03:00
i386 hw/xen: take iothread mutex in xen_evtchn_reset_op() 2023-11-09 16:39:13 +03:00
ide hw/ide/ahci: fix legacy software reset 2023-11-22 14:25:22 +03:00
input lasips2: LASI PS/2 devices are not user-createable 2023-10-21 10:22:02 +03:00
intc hw/intc: Make rtc variable names consistent 2023-09-21 19:35:19 +03:00
ipack
ipmi
isa
loongarch
m68k other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
mem
microblaze other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
mips hw/mips: LOONGSON3V depends on UNIMP device 2023-11-19 21:15:06 +03:00
misc hw/misc/mps2-scc: Free MPS2SCC::oscclk[] array on finalize() 2023-12-05 12:32:36 +03:00
net net: Provide MemReentrancyGuard * to qemu_new_nic() 2023-11-29 15:33:42 +03:00
nios2
nubus
nvme hw/nvme: fix null pointer access in ruh update 2023-08-09 15:32:32 +02:00
nvram hw/nvram/xlnx-efuse-ctrl: Free XlnxVersalEFuseCtrl[] "pg0-lock" array 2023-12-05 12:32:36 +03:00
openrisc
pci pcie_sriov: Remove g_new assertion 2023-12-13 18:50:45 +03:00
pci-bridge hw/pci-bridge/cxl_upstream.c: Use g_new0() in build_cdat_table() 2023-08-03 16:06:49 -04:00
pci-host hw/pci-host: Allow extended config space access for Designware PCIe host 2023-08-11 12:15:24 -04:00
pcmcia
ppc hw/ppc: Read time only once to perform decrementer write 2023-09-25 23:44:30 +03:00
rdma hw/rdma/vmw/pvrdma_cmd: Use correct struct in query_port() 2023-10-24 09:14:34 +03:00
remote
riscv riscv: Fix SiFive E CLINT clock frequency 2023-11-29 16:15:22 +03:00
rtc
rx
s390x s390x/pci: only limit DMA aperture if vfio DMA limit reported 2023-11-19 21:15:06 +03:00
scsi scsi-disk: ensure that FORMAT UNIT commands are terminated 2023-10-03 18:25:13 +03:00
sd hw/sd/sdhci: Block Size Register bits [14:12] is lost 2023-10-24 09:12:45 +03:00
sensor
sh4
smbios
sparc other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
sparc64
ssi
timer
tpm hw/tpm: TIS on sysbus: Remove unsupport ppi command line option 2023-07-14 11:31:54 -04:00
tricore
usb net: Provide MemReentrancyGuard * to qemu_new_nic() 2023-11-29 15:33:42 +03:00
vfio vfio/pci: Fix buffer overrun when writing the VF token 2023-11-09 16:39:13 +03:00
virtio hw/virtio: Add VirtioPCIDeviceTypeInfo::instance_finalize field 2023-12-05 12:32:36 +03:00
watchdog
xen xen: Don't pass MemoryListener around by value 2023-08-01 10:22:33 +01:00
xenpv
xtensa
Kconfig
meson.build