Re: [PATCH v2 03/26] nbd: remove incorrect coroutine_fn annotations

2022-07-04 Thread Alberto Faria
On Mon, May 9, 2022 at 11:39 AM Paolo Bonzini wrote: > nbd_co_establish_connection_cancel() cancels a coroutine but is not called > from coroutine context itself, for example in nbd_cancel_in_flight() > and in timer callbacks reconnect_delay_timer_cb() and open_timer_cb(). > > Signed-off-by: Paolo

Re: [PATCH v2 03/26] nbd: remove incorrect coroutine_fn annotations

2022-05-10 Thread Eric Blake
On Mon, May 09, 2022 at 12:29:56PM +0200, Paolo Bonzini wrote: > nbd_co_establish_connection_cancel() cancels a coroutine but is not called > from coroutine context itself, for example in nbd_cancel_in_flight() > and in timer callbacks reconnect_delay_timer_cb() and open_timer_cb(). > > Signed-off

[PATCH v2 03/26] nbd: remove incorrect coroutine_fn annotations

2022-05-09 Thread Paolo Bonzini
nbd_co_establish_connection_cancel() cancels a coroutine but is not called from coroutine context itself, for example in nbd_cancel_in_flight() and in timer callbacks reconnect_delay_timer_cb() and open_timer_cb(). Signed-off-by: Paolo Bonzini --- include/block/nbd.h | 2 +- 1 file changed, 1 in