* Re: [PATCH 6/6] blk-mq: manage hctx map via xarray [not found] <20220228090430.1064267-7-ming.lei@redhat.com> @ 2022-02-28 17:57 ` kernel test robot 2022-03-01 9:08 ` Ming Lei 0 siblings, 1 reply; 2+ messages in thread From: kernel test robot @ 2022-02-28 17:57 UTC (permalink / raw) To: Ming Lei, Jens Axboe; +Cc: llvm, kbuild-all, linux-block, Yu Kuai, Ming Lei Hi Ming, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on axboe-block/for-next] [also build test WARNING on v5.17-rc6 next-20220225] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Ming-Lei/blk-mq-update_nr_hw_queues-related-improvement-bugfix/20220228-170706 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next config: i386-randconfig-a002-20220228 (https://download.01.org/0day-ci/archive/20220301/202203010133.JIpKpP2Z-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/176e39bc0acb20f8fd869d170b429b7253b089c4 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Ming-Lei/blk-mq-update_nr_hw_queues-related-improvement-bugfix/20220228-170706 git checkout 176e39bc0acb20f8fd869d170b429b7253b089c4 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All warnings (new ones prefixed by >>): In file included from block/blk-mq-debugfs-zoned.c:7: >> block/blk-mq-debugfs.h:24:14: warning: declaration of 'struct blk_mq_hw_ctx' will not be visible outside of this function [-Wvisibility] struct blk_mq_hw_ctx *hctx); ^ block/blk-mq-debugfs.h:25:44: warning: declaration of 'struct blk_mq_hw_ctx' will not be visible outside of this function [-Wvisibility] void blk_mq_debugfs_unregister_hctx(struct blk_mq_hw_ctx *hctx); ^ block/blk-mq-debugfs.h:32:19: warning: declaration of 'struct blk_mq_hw_ctx' will not be visible outside of this function [-Wvisibility] struct blk_mq_hw_ctx *hctx); ^ block/blk-mq-debugfs.h:33:50: warning: declaration of 'struct blk_mq_hw_ctx' will not be visible outside of this function [-Wvisibility] void blk_mq_debugfs_unregister_sched_hctx(struct blk_mq_hw_ctx *hctx); ^ 4 warnings generated. vim +24 block/blk-mq-debugfs.h 16b738f651c83a Omar Sandoval 2017-05-04 20 6cfc0081b046eb Greg Kroah-Hartman 2019-06-12 21 void blk_mq_debugfs_register(struct request_queue *q); d173a25165c124 Omar Sandoval 2017-05-04 22 void blk_mq_debugfs_unregister(struct request_queue *q); 6cfc0081b046eb Greg Kroah-Hartman 2019-06-12 23 void blk_mq_debugfs_register_hctx(struct request_queue *q, 9c1051aacde828 Omar Sandoval 2017-05-04 @24 struct blk_mq_hw_ctx *hctx); 9c1051aacde828 Omar Sandoval 2017-05-04 25 void blk_mq_debugfs_unregister_hctx(struct blk_mq_hw_ctx *hctx); 6cfc0081b046eb Greg Kroah-Hartman 2019-06-12 26 void blk_mq_debugfs_register_hctxs(struct request_queue *q); 9c1051aacde828 Omar Sandoval 2017-05-04 27 void blk_mq_debugfs_unregister_hctxs(struct request_queue *q); d332ce091813d1 Omar Sandoval 2017-05-04 28 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 6/6] blk-mq: manage hctx map via xarray 2022-02-28 17:57 ` [PATCH 6/6] blk-mq: manage hctx map via xarray kernel test robot @ 2022-03-01 9:08 ` Ming Lei 0 siblings, 0 replies; 2+ messages in thread From: Ming Lei @ 2022-03-01 9:08 UTC (permalink / raw) To: kernel test robot; +Cc: Jens Axboe, llvm, kbuild-all, linux-block, Yu Kuai Hi, Thanks for the report! On Tue, Mar 01, 2022 at 01:57:33AM +0800, kernel test robot wrote: > Hi Ming, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on axboe-block/for-next] > [also build test WARNING on v5.17-rc6 next-20220225] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Ming-Lei/blk-mq-update_nr_hw_queues-related-improvement-bugfix/20220228-170706 > base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next > config: i386-randconfig-a002-20220228 (https://download.01.org/0day-ci/archive/20220301/202203010133.JIpKpP2Z-lkp@intel.com/config) > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/176e39bc0acb20f8fd869d170b429b7253b089c4 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Ming-Lei/blk-mq-update_nr_hw_queues-related-improvement-bugfix/20220228-170706 > git checkout 176e39bc0acb20f8fd869d170b429b7253b089c4 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@intel.com> > > All warnings (new ones prefixed by >>): > > In file included from block/blk-mq-debugfs-zoned.c:7: > >> block/blk-mq-debugfs.h:24:14: warning: declaration of 'struct blk_mq_hw_ctx' will not be visible outside of this function [-Wvisibility] > struct blk_mq_hw_ctx *hctx); The warning is nothing to do with this patchset. You can trigger that by just changing modify time of include/linux/blkdev.h. The following patch can fix the warning, and I will post one formal patch soon. 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; Thanks, Ming ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-01 9:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20220228090430.1064267-7-ming.lei@redhat.com>
2022-02-28 17:57 ` [PATCH 6/6] blk-mq: manage hctx map via xarray kernel test robot
2022-03-01 9:08 ` Ming Lei
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox