diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-05-07 14:42:52 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-05-16 16:59:20 +0200 |
commit | 9067d50dff29b1b96ef0d4ab7448dbd7b636e55c (patch) | |
tree | ccf0d91fce85d2947a434774ac9e764191d18350 /event-loop-base.c | |
parent | f38f5dd1d454e41def9cdba899d0b059dd8855d9 (diff) | |
download | qemu-9067d50dff29b1b96ef0d4ab7448dbd7b636e55c.zip qemu-9067d50dff29b1b96ef0d4ab7448dbd7b636e55c.tar.gz qemu-9067d50dff29b1b96ef0d4ab7448dbd7b636e55c.tar.bz2 |
backends/iommufd: Make iommufd_backend_*() return bool
This is to follow the coding standand to return bool if 'Error **'
is used to pass error.
The changed functions include:
iommufd_backend_connect
iommufd_backend_alloc_ioas
By this chance, simplify the functions a bit by avoiding duplicate
recordings, e.g., log through either error interface or trace, not
both.
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>
Diffstat (limited to 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions