diff options
author | Greg Kurz | 2020-07-28 15:29:34 +0200 |
---|---|---|
committer | David Gibson | 2020-08-12 05:16:27 +0200 |
commit | d9c5b5fa86ce37125dcc64c6274a1bc48cf11903 (patch) | |
tree | 61c625de1cc783f2a7ffea269356ed6ab4b14463 /hw/intc/imx_gpcv2.c | |
parent | ppc/spapr: Fix 32 bit logical memory block size assumptions (diff) | |
download | qemu-d9c5b5fa86ce37125dcc64c6274a1bc48cf11903.tar.gz qemu-d9c5b5fa86ce37125dcc64c6274a1bc48cf11903.tar.xz qemu-d9c5b5fa86ce37125dcc64c6274a1bc48cf11903.zip |
spapr: Use error_append_hint() in spapr_caps.c
We have a dedicated error API for hints. Use it instead of embedding
the hint in the error message, as recommanded in the "qapi/error.h"
header file.
While here, have cap_fwnmi_apply(), which already uses
error_append_hint(), to call ERRP_GUARD() as well.
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <159594297421.8262.14314530897345809924.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/imx_gpcv2.c')
0 files changed, 0 insertions, 0 deletions