On 08/10/2024 00.27, Tudor Gheorghiu wrote:
According to include/qapi/error.h:
* Please don't error_setg(&error_fatal, ...), use error_report() and
* exit(), because that's more obvious.
Patch updates all instances of error_setg(&error_fatal, ...) with
error_report(...), adds the explicit exit(1) and removes redundant
return statements.
Signed-off-by: Tudor Gheorghiu <tudor.r...@gmail.com>
Suggested-by: Thomas Huth <th...@redhat.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2587
---
hw/arm/allwinner-a10.c | 5 +++--
hw/arm/allwinner-h3.c | 4 ++--
hw/arm/allwinner-r40.c | 4 ++--
hw/arm/xlnx-versal-virt.c | 4 ++--
hw/audio/soundhw.c | 3 ++-
system/vl.c | 3 ++-
6 files changed, 13 insertions(+), 10 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>