summary refs log tree commit diff stats
path: root/hw/char/parallel.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-02-04 18:33:03 +0100
committerAndreas Färber <afaerber@suse.de>2015-02-24 00:19:05 +0100
commitcd7c50a48dd484637aec36c351728ad0f140805a (patch)
tree8b8fcfdc96d5e3dac66ba41cd78f47babb2fb5a3 /hw/char/parallel.c
parente25b89e5208564220b9ea3a728f899b37ff6dc2d (diff)
downloadfocaccia-qemu-cd7c50a48dd484637aec36c351728ad0f140805a.tar.gz
focaccia-qemu-cd7c50a48dd484637aec36c351728ad0f140805a.zip
leon3: Replace unchecked qdev_init() by qdev_init_nofail()
grlib_irqmp_create(), grlib_gptimer_create() and
grlib_apbuart_create() are helpers to create and realize GRLIB
devices.  Their only caller leon3_generic_hw_init() doesn't check for
failure.  Only the first can actually fail, and only when the caller
fails to set up a pointer property, which is a programming error.

Replace qdev_init() by qdev_init_nofail().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/char/parallel.c')
0 files changed, 0 insertions, 0 deletions