Skip to contentSkip to conversation

blk-iolatency: #include "blk.h"

PATCH Applied Bart Van Assche 2 participants 2 messages Mar 20, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
Fixes d70675121546 ("block: introduce blk-iolatency io controller") # v4.19
---
 block/blk-iolatency.c | 1 +
 1 file changed, 1 insertion(+)
block/blk-iolatency.c +1 -0
index 2620baa1f699..507212d75ee2 100644
@@ -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
 
Signature · 1 line
2.21.0.155.ge902e9bcae20
maintainer Applied
#1 lore raw
Quoted 4 lines · Bart Van Assche

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]

Applied, thanks.

Signature · 1 line
Jens Axboe