All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kaixuxia@tencent.com, frankjpliu@tencent.com, kasong@tencent.com,
	sagazchen@tencent.com, kernelxing@tencent.com,
	aurelianliu@tencent.com, deshengwu@tencent.com,
	flyingpeng@tencent.com, jason.zeng@intel.com, wu.zheng@intel.com,
	yingbao.jia@intel.com, pei.p.jia@intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [opencloudos:next 9265/10987] block/blk-mq.c:892:44: error: 'struct bio' has no member named 'bi_issue'
Date: Tue, 24 Sep 2024 07:33:31 +0800	[thread overview]
Message-ID: <202409240751.lisxWEXq-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-09-23 23:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202409240751.lisxWEXq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aurelianliu@tencent.com \
    --cc=deshengwu@tencent.com \
    --cc=flyingpeng@tencent.com \
    --cc=frankjpliu@tencent.com \
    --cc=jason.zeng@intel.com \
    --cc=kaixuxia@tencent.com \
    --cc=kasong@tencent.com \
    --cc=kernelxing@tencent.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pei.p.jia@intel.com \
    --cc=sagazchen@tencent.com \
    --cc=wu.zheng@intel.com \
    --cc=yingbao.jia@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.