hw/s390x/ccw: Make s390_ccw_get_dev_info() return a bool
commit9bf21277c4edabaef3346e2cb566040331fbc6e3
authorCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 17:01:01 +0000 (22 19:01 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 24 Jun 2024 06:03:33 +0000 (24 08:03 +0200)
tree0a4b3f6e43e9d02e2d0be2ec15ce4b48a8a50302
parentc9ba79baca7c673098361e3a687f72d458e0d18a
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>
hw/s390x/s390-ccw.c