diff options
author | Greg Kurz | 2020-08-10 18:55:15 +0200 |
---|---|---|
committer | David Gibson | 2020-08-13 13:06:44 +0200 |
commit | 6cdc0e20631faf781047b515215208660393c9a9 (patch) | |
tree | 88039c8af3a4ca80a620833e5c8e2109c25f3290 /hw/sparc/sun4m_iommu.c | |
parent | ppc/xive: Fix error handling in vmstate_xive_tctx_*() callbacks (diff) | |
download | qemu-6cdc0e20631faf781047b515215208660393c9a9.tar.gz qemu-6cdc0e20631faf781047b515215208660393c9a9.tar.xz qemu-6cdc0e20631faf781047b515215208660393c9a9.zip |
spapr/xive: Simplify error handling in kvmppc_xive_connect()
Now that all these functions return a negative errno on failure, check
that and get rid of the local_err boilerplate.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707851537.1489912.1030839306195472651.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/sparc/sun4m_iommu.c')
0 files changed, 0 insertions, 0 deletions