Skip to content

Commit

Permalink
block/io_uring: add missing include file
Browse files Browse the repository at this point in the history
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: e2848bc ("Use io_uring_register_ring_fd() to skip fd operations")
Signed-off-by: Jinhao Fan <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
  • Loading branch information
fandahao17 authored and kevmw committed Aug 2, 2022
1 parent 60205b7 commit 77e3f03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/io_uring.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 77e3f03

Please sign in to comment.