diff options
author | Greg Kurz <groug@kaod.org> | 2020-06-11 15:40:11 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-06-26 09:22:29 +1000 |
commit | a816f2d6b801061c3fee44f9162607abcb43123d (patch) | |
tree | a3f098f339557db618f87f367edd67e141d32f1c /hw/ppc/spapr_vio.c | |
parent | 63d211993b73ca9ac2bc618afeb61a698e9f5198 (diff) |
spapr: Simplify some warning printing paths in spapr_caps.c
We obviously only want to print a warning in these cases, but this is done
in a rather convoluted manner. Just use warn_report() instead.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159188281098.70166.18387926536399257573.stgit@bahia.lan>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/spapr_vio.c')
0 files changed, 0 insertions, 0 deletions