Re: [PATCH] vfio/ccw: Use g_autofree variable

2024-04-24 Thread Markus Armbruster
Cédric Le Goater writes: > Also change the return value of vfio_ccw_register_irq_notifier() to be > a bool since it takes and 'Error **' argument. See the qapi/error.h > Rules section. > > Signed-off-by: Cédric Le Goater My comments on "[PATCH] vfio/ap: Use g_autofree variable" apply. More

Re: [PATCH] vfio/ccw: Use g_autofree variable

2024-04-24 Thread Thomas Huth
On 24/04/2024 14.54, Cédric Le Goater wrote: Also change the return value of vfio_ccw_register_irq_notifier() to be a bool since it takes and 'Error **' argument. See the qapi/error.h Rules section. Signed-off-by: Cédric Le Goater --- hw/vfio/ccw.c | 25 +++-- 1 file

[PATCH] vfio/ccw: Use g_autofree variable

2024-04-24 Thread Cédric Le Goater
Also change the return value of vfio_ccw_register_irq_notifier() to be a bool since it takes and 'Error **' argument. See the qapi/error.h Rules section. Signed-off-by: Cédric Le Goater --- hw/vfio/ccw.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff