]> git.ipfire.org Git - thirdparty/qemu.git/commit
s390x/css: Make CCWDeviceClass::realize return bool
authorCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 17:01:02 +0000 (19:01 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 24 Jun 2024 06:03:33 +0000 (08:03 +0200)
commit4a6a90f30fa3b2973bbb6faf985466b4338f903f
tree6d900fb383f5d5fa8149609121b15acbc937e44c
parent9bf21277c4edabaef3346e2cb566040331fbc6e3
s390x/css: Make CCWDeviceClass::realize return bool

Since the realize() handler of CCWDeviceClass takes an 'Error **'
argument, best practices suggest to return a bool. See the api/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-3-clg@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/ccw-device.c
hw/s390x/ccw-device.h
hw/s390x/s390-ccw.c