[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/7] block/io_uring: add missing include file
From: |
Kevin Wolf |
Subject: |
[PULL 1/7] block/io_uring: add missing include file |
Date: |
Tue, 2 Aug 2022 15:37:51 +0200 |
From: Jinhao Fan <fanjinhao21s@ict.ac.cn>
The commit "Use io_uring_register_ring_fd() to skip fd operations" uses
warn_report but did not include the header file "qemu/error-report.h".
This causes "error: implicit declaration of function ‘warn_report’".
Include this header file.
Fixes: e2848bc574 ("Use io_uring_register_ring_fd() to skip fd operations")
Signed-off-by: Jinhao Fan <fanjinhao21s@ict.ac.cn>
Message-Id: <20220721065645.577404-1-fanjinhao21s@ict.ac.cn>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
block/io_uring.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/io_uring.c b/block/io_uring.c
index f8a19fd97f..a1760152e0 100644
--- a/block/io_uring.c
+++ b/block/io_uring.c
@@ -11,6 +11,7 @@
#include "qemu/osdep.h"
#include <liburing.h>
#include "block/aio.h"
+#include "qemu/error-report.h"
#include "qemu/queue.h"
#include "block/block.h"
#include "block/raw-aio.h"
--
2.35.3
- [PULL 0/7] Block layer patches, Kevin Wolf, 2022/08/02
- [PULL 4/7] libvduse: Pass positive value to strerror(), Kevin Wolf, 2022/08/02
- [PULL 2/7] libvduse: Fix the incorrect function name, Kevin Wolf, 2022/08/02
- [PULL 1/7] block/io_uring: add missing include file,
Kevin Wolf <=
- [PULL 3/7] libvduse: Replace strcpy() with strncpy(), Kevin Wolf, 2022/08/02
- [PULL 6/7] qemu-iotests: Discard stderr when probing devices, Kevin Wolf, 2022/08/02
- [PULL 7/7] main loop: add missing documentation links to GS/IO macros, Kevin Wolf, 2022/08/02
- [PULL 5/7] hw/block/hd-geometry: Do not override specified bios-chs-trans, Kevin Wolf, 2022/08/02
- Re: [PULL 0/7] Block layer patches, Richard Henderson, 2022/08/02