Skip to content

Commit 373e915

Browse files
bvanasscheaxboe
authored andcommitted
blk-iolatency: #include "blk.h"
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: d706751 ("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>
1 parent e6c9871 commit 373e915

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

block/blk-iolatency.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
#include <linux/blk-mq.h>
7676
#include "blk-rq-qos.h"
7777
#include "blk-stat.h"
78+
#include "blk.h"
7879

7980
#define DEFAULT_SCALE_COOKIE 1000000U
8081

0 commit comments

Comments
 (0)