[openeuler:OLK-6.6 3214/3214] block/blk-ioinf.c:530:41: error: array type has incomplete element type 'struct blk_mq_debugfs_attr'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: b4a3c05741e1650e8bb8399196fb5d7a318a4698 commit: 4192ef0b07762c6dabf617654df442fecffe8510 [3214/3214] blk-ioinf: add rqos/inflight/stat debufs interface config: x86_64-randconfig-r111-20251118 (https://download.01.org/0day-ci/archive/20251118/202511182212.yHIyxmau-lkp@i...) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251118/202511182212.yHIyxmau-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202511182212.yHIyxmau-lkp@intel.com/ All error/warnings (new ones prefixed by >>): block/blk-ioinf.c:248:6: warning: no previous prototype for 'ioinf_done' [-Wmissing-prototypes] 248 | void ioinf_done(struct ioinf *inf, struct ioinf_rq_wait *rqw) | ^~~~~~~~~~
block/blk-ioinf.c:530:41: error: array type has incomplete element type 'struct blk_mq_debugfs_attr' 530 | static const struct blk_mq_debugfs_attr ioinf_debugfs_attrs[] = { | ^~~~~~~~~~~~~~~~~~~ block/blk-ioinf.c:547:5: warning: no previous prototype for 'ioinf_calc_budget' [-Wmissing-prototypes] 547 | u32 ioinf_calc_budget(struct ioinf_rq_wait *rqw) | ^~~~~~~~~~~~~~~~~ block/blk-ioinf.c:530:41: warning: 'ioinf_debugfs_attrs' defined but not used [-Wunused-variable] 530 | static const struct blk_mq_debugfs_attr ioinf_debugfs_attrs[] = { | ^~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PGP_PRELOAD Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n] Selected by [y]: - PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y] vim +530 block/blk-ioinf.c 529
530 static const struct blk_mq_debugfs_attr ioinf_debugfs_attrs[] = { 531 {"stat", 0400, ioinf_stat_show}, 532 {}, 533 }; 534
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot