summaryrefslogtreecommitdiff
path: root/hw/pci-host/prep.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-12-17 17:35:12 +0100
committerMarkus Armbruster <armbru@redhat.com>2016-01-13 11:58:58 +0100
commit5a8de107e3496855147e823de32ff70cada725d1 (patch)
treed21d8af030e546040dbc7f4da9ca89e64fce4fb3 /hw/pci-host/prep.c
parentb097e481217ac30eeac675ec16711ef360ccce72 (diff)
downloadqemu-5a8de107e3496855147e823de32ff70cada725d1.tar.gz
qemu-5a8de107e3496855147e823de32ff70cada725d1.tar.bz2
qemu-5a8de107e3496855147e823de32ff70cada725d1.zip
etraxfs_eth: Don't use hw_error() in init() method
Device init() methods aren't supposed to call hw_error(), they should report the error and fail cleanly. Do that. Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> Signed-off-by: Markus Armbruster <armbru@pond.sub.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-Id: <1450370121-5768-5-git-send-email-armbru@redhat.com>
Diffstat (limited to 'hw/pci-host/prep.c')
0 files changed, 0 insertions, 0 deletions