summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-05-29 19:48:19 +0200
committerDavid Gibson2018-06-12 01:33:52 +0200
commite20c63140a185c166e91d8c68a2aa6bb99e600c3 (patch)
tree05c07d03052c3caa65293ac720f47237c4bf46e6 /target
parentuninorth: remove token register from uninorth device (diff)
downloadqemu-e20c63140a185c166e91d8c68a2aa6bb99e600c3.tar.gz
qemu-e20c63140a185c166e91d8c68a2aa6bb99e600c3.tar.xz
qemu-e20c63140a185c166e91d8c68a2aa6bb99e600c3.zip
hw/ppc/spapr_drc: Replace error_setg(&error_abort) by error_report() + abort()
Use error_report() + abort() instead of error_setg(&error_abort), as suggested by the "qapi/error.h" documentation: Please don't error_setg(&error_fatal, ...), use error_report() and exit(), because that's more obvious. Likewise, don't error_setg(&error_abort, ...), use assert(). Use abort() instead of the suggested assert() because the error message already got displayed. Suggested-by: Eric Blake <eblake@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions