On 7/2/20 10:49 AM, Markus Armbruster wrote:
The previous commit used Coccinelle to convert from checking the Error
object to checking the return value. Convert a few more manually.
Signed-off-by: Markus Armbruster <arm...@redhat.com>
---
hw/core/bus.c | 6 +-----
hw/core/qdev.c | 7 +------
hw/s390x/s390-virtio-ccw.c | 13 +++++++------
3 files changed, 9 insertions(+), 17 deletions(-)
Reviewed-by: Eric Blake <ebl...@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org