Fix the following warning when building block/blk-mq-debugfs-zoned.c: In file included from block/blk-mq-debugfs-zoned.c:7: block/blk-mq-debugfs.h:24:14: warning: ‘struct blk_mq_hw_ctx’ declared inside parameter list will not be visible outside of this definition or declaration 24 | struct blk_mq_hw_ctx *hctx); | ^~~~~~~~~~~~~ Reported-by: kernel test robot <lkp@xxxxxxxxx> Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx> --- block/blk-mq-debugfs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/block/blk-mq-debugfs.h b/block/blk-mq-debugfs.h index a68aa6041a10..37fe2716e96e 100644 --- a/block/blk-mq-debugfs.h +++ b/block/blk-mq-debugfs.h @@ -5,6 +5,7 @@ #ifdef CONFIG_BLK_DEBUG_FS #include <linux/seq_file.h> +#include <linux/blk-mq.h> struct blk_mq_debugfs_attr { const char *name; -- 2.31.1