]> www.infradead.org Git - users/dwmw2/qemu.git/commit
s390x/css: Make S390CCWDeviceClass::realize return bool
authorCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 17:01:04 +0000 (19:01 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 24 Jun 2024 06:03:33 +0000 (08:03 +0200)
commit45f4218784ce20b2c303dd07b1fa3aa6838eca73
tree6e296d0dc31f2a9808626078956f0cdd800bad6f
parent19a1740fd3eb31ffc5b73ed101f1e3847c546631
s390x/css: Make S390CCWDeviceClass::realize return bool

Since the realize() handler of S390CCWDeviceClass 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 vfio_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-5-clg@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-ccw.c
hw/vfio/ccw.c
include/hw/s390x/s390-ccw.h