[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/26] coroutine: remove incorrect coroutine_fn annotations
From: |
Paolo Bonzini |
Subject: |
[PATCH 04/26] coroutine: remove incorrect coroutine_fn annotations |
Date: |
Fri, 15 Apr 2022 15:18:38 +0200 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
include/qemu/coroutine.h | 2 +-
util/qemu-coroutine.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/qemu/coroutine.h b/include/qemu/coroutine.h
index 284571badb..2d9211faff 100644
--- a/include/qemu/coroutine.h
+++ b/include/qemu/coroutine.h
@@ -92,7 +92,7 @@ void coroutine_fn qemu_coroutine_yield(void);
/**
* Get the AioContext of the given coroutine
*/
-AioContext *coroutine_fn qemu_coroutine_get_aio_context(Coroutine *co);
+AioContext *qemu_coroutine_get_aio_context(Coroutine *co);
/**
* Get the currently executing coroutine
diff --git a/util/qemu-coroutine.c b/util/qemu-coroutine.c
index c03b2422ff..9f2bd96fa0 100644
--- a/util/qemu-coroutine.c
+++ b/util/qemu-coroutine.c
@@ -200,7 +200,7 @@ bool qemu_coroutine_entered(Coroutine *co)
return co->caller;
}
-AioContext *coroutine_fn qemu_coroutine_get_aio_context(Coroutine *co)
+AioContext *qemu_coroutine_get_aio_context(Coroutine *co)
{
return co->ctx;
}
--
2.35.1
- [PATCH 00/19] block: fix coroutine_fn annotations, Paolo Bonzini, 2022/04/15
- [PATCH 01/26] block: remove incorrect coroutine_fn annotations, Paolo Bonzini, 2022/04/15
- [PATCH 02/26] qcow2: remove incorrect coroutine_fn annotations, Paolo Bonzini, 2022/04/15
- [PATCH 04/26] coroutine: remove incorrect coroutine_fn annotations,
Paolo Bonzini <=
- [PATCH 03/26] nbd: remove incorrect coroutine_fn annotations, Paolo Bonzini, 2022/04/15
- [PATCH 07/26] block: add missing coroutine_fn annotations, Paolo Bonzini, 2022/04/15
- [PATCH 06/26] blkverify: add missing coroutine_fn annotations, Paolo Bonzini, 2022/04/15