diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-03-20 13:15:01 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-20 09:15:58 +0200 |
commit | bde271d1ad0e9adca18aa3258dd49913995e568e (patch) | |
tree | cd070c17d3ebe1d9d9fbe9313158f29ce872d17f /block | |
parent | b63df738ce7d7b93a412d45005dc3d2331c3d1d8 (diff) | |
download | linux-rpi3-bde271d1ad0e9adca18aa3258dd49913995e568e.tar.gz linux-rpi3-bde271d1ad0e9adca18aa3258dd49913995e568e.tar.bz2 linux-rpi3-bde271d1ad0e9adca18aa3258dd49913995e568e.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>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-iolatency.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c index b154e057ca67..6b8396ccb5c4 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 |