Skip to content
Snippets Groups Projects
Commit 77e3f038 authored by Jinhao Fan's avatar Jinhao Fan Committed by Kevin Wolf
Browse files

block/io_uring: add missing include file


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: e2848bc5 ("Use io_uring_register_ring_fd() to skip fd operations")
Signed-off-by: default avatarJinhao Fan <fanjinhao21s@ict.ac.cn>
Message-Id: <20220721065645.577404-1-fanjinhao21s@ict.ac.cn>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 60205b71
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment