]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/ccw: Make vfio_ccw_get_region() return a bool
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Wed, 22 May 2024 04:40:02 +0000 (12:40 +0800)
committerCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 08:04:21 +0000 (10:04 +0200)
commit040f8d105057383b42c162424a99a468f67a97f4
tree1a51a8f950fa786f07c1b85852ee889b2191ce92
parent958609cfeb0502d3e0a59921b5d039c5c77d57ff
vfio/ccw: Make vfio_ccw_get_region() return a bool

Since vfio_populate_device() takes an 'Error **' argument,
best practices suggest to return a bool. See the qapi/error.h
Rules section.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/ccw.c