diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-05-22 12:40:04 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-05-22 10:04:21 +0200 |
commit | 713b59a674b407b894161ada0b6541ce4e0f68d7 (patch) | |
tree | 096b80a9f1b822eaccd087a07661de9982272672 /event-loop-base.c | |
parent | 44cd660a992df4bee1723fb8899c1d9bb9f8de0b (diff) | |
download | qemu-713b59a674b407b894161ada0b6541ce4e0f68d7.zip qemu-713b59a674b407b894161ada0b6541ce4e0f68d7.tar.gz qemu-713b59a674b407b894161ada0b6541ce4e0f68d7.tar.bz2 |
vfio/pci: Make vfio_pci_relocate_msix() and vfio_msix_early_setup() return a bool
Since vfio_pci_relocate_msix() and vfio_msix_early_setup() takes
an 'Error **' argument, best practices suggest to return a bool.
See the qapi/error.h Rules section.
By this chance, pass errp directly to vfio_msix_early_setup() to avoid
calling error_propagate().
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