All of lore.kernel.org
 help / color / mirror / Atom feed
* [opencloudos:next 9265/10987] block/blk-mq.c:892:44: error: 'struct bio' has no member named 'bi_issue'
@ 2024-09-23 23:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-23 23:33 UTC (permalink / raw)
  To: kaixuxia, frankjpliu, kasong, sagazchen, kernelxing, aurelianliu,
	deshengwu, flyingpeng, jason.zeng, wu.zheng, yingbao.jia,
	pei.p.jia
  Cc: oe-kbuild-all

tree:   https://gitee.com/OpenCloudOS/OpenCloudOS-Kernel.git next
head:   32c289d299ef397e4df3f8fdf99c99c07b3192d4
commit: aa493c7aa24a8bfeafb0e8a2b806c57e6b431ac4 [9265/10987] sli/io: backport iolat function from tk3
config: x86_64-randconfig-013-20240924 (https://download.01.org/0day-ci/archive/20240924/202409240751.lisxWEXq-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240924/202409240751.lisxWEXq-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/202409240751.lisxWEXq-lkp@intel.com/

All errors (new ones prefixed by >>):

   block/blk-mq.c: In function 'sli_iolat_stat_end_check':
>> block/blk-mq.c:892:44: error: 'struct bio' has no member named 'bi_issue'
     892 |         u64 bio_start = bio_issue_time(&bio->bi_issue);
         |                                            ^~
>> block/blk-mq.c:895:27: error: 'blkcg_root' undeclared (first use in this function); did you mean 'blkg_put'?
     895 |                 blkcg == &blkcg_root)
         |                           ^~~~~~~~~~
         |                           blkg_put
   block/blk-mq.c:895:27: note: each undeclared identifier is reported only once for each function it appears in
>> block/blk-mq.c:898:21: error: 'struct blkcg' has no member named 'css'
     898 |         cgrp = blkcg->css.cgroup;
         |                     ^~
   At top level:
   block/blk-mq.c:887:13: warning: 'sli_iolat_stat_end_check' defined but not used [-Wunused-function]
     887 | static void sli_iolat_stat_end_check(u64 rq_alloc_time_ns, u64 rq_io_start_time_ns,
         |             ^~~~~~~~~~~~~~~~~~~~~~~~


vim +892 block/blk-mq.c

   885	
   886	#ifdef CONFIG_CGROUP_SLI
   887	static void sli_iolat_stat_end_check(u64 rq_alloc_time_ns, u64 rq_io_start_time_ns,
   888			struct bio *bio, struct blkcg *blkcg)
   889	{
   890		struct cgroup *cgrp;
   891		u64 sli_iolat_end_time = 0;
 > 892		u64 bio_start = bio_issue_time(&bio->bi_issue);
   893	
   894		if (!bio_start || !rq_alloc_time_ns || !rq_io_start_time_ns || !blkcg ||
 > 895			blkcg == &blkcg_root)
   896			return;
   897	
 > 898		cgrp = blkcg->css.cgroup;
   899		if (!cgrp || !cgroup_parent(cgrp))
   900			return;
   901	
   902		sli_iolat_end_time = __bio_issue_time(ktime_get_ns());
   903		if (sli_iolat_end_time <= bio_start)
   904			return;
   905	
   906		sli_iolat_stat_end(IO_LAT_DELAY, bio_start, rq_alloc_time_ns, rq_io_start_time_ns,
   907				sli_iolat_end_time, sli_iolat_end_time - bio_start, bio, cgrp);
   908	}
   909	#endif
   910	

-- 
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:[~2024-09-23 23:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 23:33 [opencloudos:next 9265/10987] block/blk-mq.c:892:44: error: 'struct bio' has no member named 'bi_issue' 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.