Re: [PATCH v2 06/11] blk-mq: Pass driver tags to blk_mq_clear_rq_mapping()

From: John Garry
Date: Mon Aug 09 2021 - 13:11:34 EST


On 09/08/2021 18:00, kernel test robot wrote:
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot<lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

block/blk-mq.c:2313:6: warning: no previous prototype for 'blk_mq_clear_rq_mapping' [-Wmissing-prototypes]
2313 | void blk_mq_clear_rq_mapping(struct blk_mq_tags *drv_tags,
| ^~~~~~~~~~~~~~~~~~~~~~~


vim +/blk_mq_clear_rq_mapping +2313 block/blk-mq.c

2311
2312 /* called before freeing request pool in @tags */
2313 void blk_mq_clear_rq_mapping(struct blk_mq_tags *drv_tags,
2314 struct blk_mq_tags *tags)

I will fix in a new version after other review.

Thanks