pseries: Clean up error handling in spapr_rtas_register()
commitadf9ac50dbb183f83c4f430738e0271a1a2039aa
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 20 Jan 2016 01:58:44 +0000 (20 12:58 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 30 Jan 2016 12:37:37 +0000 (30 23:37 +1100)
tree92f0ef59635abaace26f27e1e285b7d0bc150bbd
parent14c6a8949799573570b62cf50c519a3b34a2499b
pseries: Clean up error handling in spapr_rtas_register()

The errors detected in this function necessarily indicate bugs in the rest
of the qemu code, rather than an external or configuration problem.

So, a simple assert() is more appropriate than any more complex error
reporting.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/ppc/spapr_rtas.c