diff options
author | Cédric Le Goater <clg@redhat.com> | 2024-05-22 19:01:01 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-06-24 08:03:33 +0200 |
commit | 9bf21277c4edabaef3346e2cb566040331fbc6e3 (patch) | |
tree | 0a4b3f6e43e9d02e2d0be2ec15ce4b48a8a50302 /qapi/qobject-output-visitor.c | |
parent | c9ba79baca7c673098361e3a687f72d458e0d18a (diff) | |
download | qemu-9bf21277c4edabaef3346e2cb566040331fbc6e3.zip qemu-9bf21277c4edabaef3346e2cb566040331fbc6e3.tar.gz qemu-9bf21277c4edabaef3346e2cb566040331fbc6e3.tar.bz2 |
hw/s390x/ccw: Make s390_ccw_get_dev_info() return a bool
Since s390_ccw_get_dev_info() takes an 'Error **' argument, best
practices suggest to return a bool. See the qapi/error.h Rules
section. While at it, modify the call in s390_ccw_realize().
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Anthony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240522170107.289532-2-clg@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'qapi/qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions