aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-03-20 13:15:01 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-20 09:16:57 +0200
commitc43003451a010ce1dcdbb05f53a265be1004931c (patch)
tree3449397a6c065e50b122f17fbb8b5f78506e0b20
parent8bd30e5e0ec594d6200448f0c2b889bd8bd28a5a (diff)
downloadlinux-yocto-c43003451a010ce1dcdbb05f53a265be1004931c.tar.gz
linux-yocto-c43003451a010ce1dcdbb05f53a265be1004931c.tar.bz2
linux-yocto-c43003451a010ce1dcdbb05f53a265be1004931c.zip
blk-iolatency: #include "blk.h"
[ Upstream commit 373e915cd8e84544609eced57a44fbc084f8d60f ] This patch avoids that the following warning is reported when building with W=1: block/blk-iolatency.c:734:5: warning: no previous prototype for 'blk_iolatency_init' [-Wmissing-prototypes] Cc: Josef Bacik <jbacik@fb.com> Fixes: d70675121546 ("block: introduce blk-iolatency io controller") # v4.19 Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--block/blk-iolatency.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c
index 2620baa1f699..507212d75ee2 100644
--- a/block/blk-iolatency.c
+++ b/block/blk-iolatency.c
@@ -75,6 +75,7 @@
#include <linux/blk-mq.h>
#include "blk-rq-qos.h"
#include "blk-stat.h"
+#include "blk.h"
#define DEFAULT_SCALE_COOKIE 1000000U