]> Git Repo - qemu.git/commit
etraxfs_eth: Don't use hw_error() in init() method
authorMarkus Armbruster <[email protected]>
Thu, 17 Dec 2015 16:35:12 +0000 (17:35 +0100)
committerMarkus Armbruster <[email protected]>
Wed, 13 Jan 2016 10:58:58 +0000 (11:58 +0100)
commit5a8de107e3496855147e823de32ff70cada725d1
treed21d8af030e546040dbc7f4da9ca89e64fce4fb3
parentb097e481217ac30eeac675ec16711ef360ccce72
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" <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <1450370121[email protected]>
hw/net/etraxfs_eth.c
This page took 0.025233 seconds and 4 git commands to generate.