spapr: Add return value to spapr_irq_check()
commit0a3fd3df6f6a9b318909ab8400172d2d5a42abf9
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Sep 2019 02:20:47 +0000 (30 12:20 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 4 Oct 2019 09:08:23 +0000 (4 19:08 +1000)
tree40cae2e74d314af587b795243543b86e44dba09b
parentca62823b79443e3f498c6e6b9fea5f8bbe61033e
spapr: Add return value to spapr_irq_check()

Explicitly return success or failure, rather than just relying on the
Error ** parameter.  This makes handling it less verbose in the caller.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
hw/ppc/spapr_irq.c