aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/sysbus-fdt.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-06-29 15:11:00 +0100
committerPeter Maydell <peter.maydell@linaro.org>2018-06-29 15:11:00 +0100
commit329b72916f54a6ef2842ae172c086986af19c677 (patch)
treeaaa131aab250dda36c6490bdb7fab70befa3c4c4 /hw/arm/sysbus-fdt.c
parent109b25045b3651f9c5d02c3766c0b3ff63e6d193 (diff)
hw/block/fdc: Replace error_setg(&error_abort) by assert()
Use assert() 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(). Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: John Snow <jsnow@redhat.com> Message-id: 20180625165749.3910-2-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/sysbus-fdt.c')
0 files changed, 0 insertions, 0 deletions