qemu/hw/misc/macio
Markus Armbruster 0a15a73236 macio: Tidy up error handling in macio_newworld_realize()
macio_newworld_realize() effectively ignores ns->gpio realization
errors, leaking the Error object.  Fortunately, macio_gpio_realize()
can't actually fail.  Tidy up.

Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20200707160613.848843-6-armbru@redhat.com>
2020-07-10 15:01:06 +02:00
..
cuda.c qdev: Use returned bool to check for qdev_realize() etc. failure 2020-07-10 15:01:06 +02:00
gpio.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
Kconfig kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
mac_dbdma.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
macio.c macio: Tidy up error handling in macio_newworld_realize() 2020-07-10 15:01:06 +02:00
Makefile.objs mac_newworld: add PMU device 2018-06-16 16:32:33 +10:00
pmu.c qdev: Use returned bool to check for qdev_realize() etc. failure 2020-07-10 15:01:06 +02:00
trace-events trace-events: Delete unused trace points 2019-03-22 16:18:07 +00:00