summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-04-17 09:14:34 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-04-17 12:05:30 +0200
commit55a2415bef6507165d33ade33b0f28d5da3609a7 (patch)
tree92161985d25a00bb6b18c5c07ab2f66bf3ead302
parentvirtio-balloon: Avoid using the word 'report' when referring to free page hin... (diff)
downloadlinux-55a2415bef6507165d33ade33b0f28d5da3609a7.tar.xz
linux-55a2415bef6507165d33ade33b0f28d5da3609a7.zip
virtio_blk: add a missing include
virtio_blk uses VIRTIO_RING_F_INDIRECT_DESC, pull in the header defining that value. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--drivers/block/virtio_blk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index f9b1e70f1b31..93468b7c6701 100644
--- a/drivers/block/virtio_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -15,6 +15,7 @@
#include <linux/blk-mq.h>
#include <linux/blk-mq-virtio.h>
#include <linux/numa.h>
+#include <uapi/linux/virtio_ring.h>
#define PART_BITS 4
#define VQ_NAME_LEN 16