]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/ccw: Make vfio_ccw_register_irq_notifier() return a bool
authorCédric Le Goater <clg@redhat.com>
Thu, 25 Apr 2024 09:02:14 +0000 (11:02 +0200)
committerCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 14:59:19 +0000 (16:59 +0200)
commit8aaeff97acee1ad0c96b6c229cd02c8f3e96dcda
tree765a8ff86cad534ba9482923aa0a0cfb1ab3afc2
parent04f8e4f29b5264f855be015852497b3c1dcdb3c4
vfio/ccw: Make vfio_ccw_register_irq_notifier() return a bool

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

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/ccw.c