[openeuler:OLK-6.6 3214/3214] block/blk-ioinf.c:233:6: warning: no previous prototype for 'ioinf_done'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 09c1ca7bc68f566c176a3647d87ed91e455d90f3 commit: a63e78514d119d4ee6525e1cc3a0aca4a2b29cbd [3214/3214] blk-ioinf: introduce inflight-based IO QoS controller config: x86_64-randconfig-r111-20251118 (https://download.01.org/0day-ci/archive/20251118/202511182153.2rP8BCJI-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/202511182153.2rP8BCJI-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/202511182153.2rP8BCJI-lkp@intel.com/ All warnings (new ones prefixed by >>):
block/blk-ioinf.c:233:6: warning: no previous prototype for 'ioinf_done' [-Wmissing-prototypes] 233 | void ioinf_done(struct ioinf *inf, struct ioinf_rq_wait *rqw) | ^~~~~~~~~~ block/blk-ioinf.c:461:5: warning: no previous prototype for 'ioinf_calc_budget' [-Wmissing-prototypes] 461 | u32 ioinf_calc_budget(struct ioinf_rq_wait *rqw) | ^~~~~~~~~~~~~~~~~
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 +/ioinf_done +233 block/blk-ioinf.c 232
233 void ioinf_done(struct ioinf *inf, struct ioinf_rq_wait *rqw) 234 { 235 int inflight; 236 237 if (!inf->params.enabled) 238 return; 239 240 inflight = atomic_dec_return(&rqw->inflight); 241 if (inflight >= (int)rqw->hinflight) 242 return; 243 244 if (!READ_ONCE(inf->waking) && atomic_read(&rqw->sleepers)) { 245 WRITE_ONCE(inf->waking, true); 246 hrtimer_start(&inf->wakeup_timer, 0, HRTIMER_MODE_REL); 247 } 248 } 249
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot