vfio/helpers: Make vfio_device_get_name() return bool
commitc6c6cf91c0ad2a98d2566de162c3e089b75c2fc4
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Wed, 22 May 2024 04:40:00 +0000 (22 12:40 +0800)
committerCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 08:04:21 +0000 (22 10:04 +0200)
treef81c5a1b6b8272c1df14fcfac01b0a6c4dac9141
parent84e37d02969ca1c7a6a8670e7d1da8e4ca5d56b9
vfio/helpers: Make vfio_device_get_name() return bool

This is to follow the coding standand in qapi/error.h to return bool
for bool-valued functions.

Suggested-by: Cédric Le Goater <clg@redhat.com>
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/ap.c
hw/vfio/ccw.c
hw/vfio/helpers.c
hw/vfio/pci.c
hw/vfio/platform.c
include/hw/vfio/vfio-common.h