diff mbox

[2/3] block/bio-integrity.c: Add #include "blk.h"

Message ID 28463abe-4bb3-a606-265c-f80c3358ca9c@sandisk.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bart Van Assche June 14, 2016, 3:03 p.m. UTC
This patch avoids that building with W=1 C=2 triggers the following
warning:

block/bio-integrity.c:35:6: warning: symbol 'blk_flush_integrity' was not declared. Should it be static?

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
---
 block/bio-integrity.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/block/bio-integrity.c b/block/bio-integrity.c
index 711e4d8d..15d37b1 100644
--- a/block/bio-integrity.c
+++ b/block/bio-integrity.c
@@ -26,6 +26,7 @@ 
 #include <linux/bio.h>
 #include <linux/workqueue.h>
 #include <linux/slab.h>
+#include "blk.h"
 
 #define BIP_INLINE_VECS	4