]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/xlnx-zynqmp.c: Add missing error-propagation code
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 30 Mar 2020 12:18:59 +0000 (13:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 30 Mar 2020 12:18:59 +0000 (13:18 +0100)
commit660b4e70422bd19b09fa979733645ad6a55d88f2
tree3ef76df808d7344daed0a14c757325b3ae88f3fd
parent63fef6287e555651e1a27d595ad677f21e04de32
hw/arm/xlnx-zynqmp.c: Add missing error-propagation code

In some places in xlnx_zynqmp_realize() we were putting an
error into our local Error*, but forgetting to check for
failure and pass it back to the caller. Add the missing code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200324134947.15384-3-peter.maydell@linaro.org
hw/arm/xlnx-zynqmp.c