* [openeuler:OLK-6.6 3534/3534] block/blk-ioinf.c:530:60: error: array has incomplete element type 'const struct blk_mq_debugfs_attr'
@ 2025-12-11 3:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-11 3:28 UTC (permalink / raw)
To: kernel, Baokun Li; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d281438782e3c28a3df71a64513a3312d43dcf01
commit: 4192ef0b07762c6dabf617654df442fecffe8510 [3534/3534] blk-ioinf: add rqos/inflight/stat debufs interface
config: x86_64-randconfig-r071-20251211 (https://download.01.org/0day-ci/archive/20251211/202512111132.APojgRTS-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251211/202512111132.APojgRTS-lkp@intel.com/reproduce)
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/202512111132.APojgRTS-lkp@intel.com/
All errors (new ones prefixed by >>):
block/blk-ioinf.c:248:6: warning: no previous prototype for function 'ioinf_done' [-Wmissing-prototypes]
248 | void ioinf_done(struct ioinf *inf, struct ioinf_rq_wait *rqw)
| ^
block/blk-ioinf.c:248:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
248 | void ioinf_done(struct ioinf *inf, struct ioinf_rq_wait *rqw)
| ^
| static
>> block/blk-ioinf.c:530:60: error: array has incomplete element type 'const struct blk_mq_debugfs_attr'
530 | static const struct blk_mq_debugfs_attr ioinf_debugfs_attrs[] = {
| ^
block/blk-rq-qos.h:14:8: note: forward declaration of 'struct blk_mq_debugfs_attr'
14 | struct blk_mq_debugfs_attr;
| ^
block/blk-ioinf.c:547:5: warning: no previous prototype for function 'ioinf_calc_budget' [-Wmissing-prototypes]
547 | u32 ioinf_calc_budget(struct ioinf_rq_wait *rqw)
| ^
block/blk-ioinf.c:547:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
547 | u32 ioinf_calc_budget(struct ioinf_rq_wait *rqw)
| ^
| static
2 warnings and 1 error generated.
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-11 3:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-11 3:28 [openeuler:OLK-6.6 3534/3534] block/blk-ioinf.c:530:60: error: array has incomplete element type 'const struct blk_mq_debugfs_attr' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.