From: kernel test robot <lkp@intel.com>
To: "Michal Koutný" <mkoutny@suse.com>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
cgroups@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
bpf@vger.kernel.org, netfilter-devel@vger.kernel.org,
coreteam@netfilter.org, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, "Michal Koutný" <mkoutny@suse.com>,
"Yu Kuai" <yukuai@fnnas.com>, "Jens Axboe" <axboe@kernel.dk>,
"Tejun Heo" <tj@kernel.org>, "Josef Bacik" <josef@toxicpanda.com>,
"Johannes Weiner" <hannes@cmpxchg.org>,
"Steven Rostedt" <rostedt@goodmis.org>,
"Masami Hiramatsu" <mhiramat@kernel.org>,
"Mathieu Desnoyers" <mathieu.desnoyers@efficios.com>,
"Alexei Starovoitov" <ast@kernel.org>,
"Daniel Borkmann" <daniel@iogearbox.net>,
"Andrii Nakryiko" <andrii@kernel.org>,
"Martin KaFai Lau" <martin.lau@linux.dev>,
"Eduard Zingerman" <eddyz87@gmail.com>,
"Song Liu" <song@kernel.org>,
"Yonghong Song" <yonghong.song@linux.dev>,
"John Fastabend" <john.fastabend@gmail.com>,
"KP Singh" <kpsingh@kernel.org>,
"Stanislav Fomichev" <sdf@fomichev.me>,
"Hao Luo" <haoluo@google.com>, "Jiri Olsa" <jolsa@kernel.org>,
"Pablo Neira Ayuso" <pablo@netfilter.org>
Subject: Re: [PATCH 2/4] cgroup: Introduce cgroup_level() helper
Date: Sat, 20 Dec 2025 22:59:32 +0800 [thread overview]
Message-ID: <202512202230.1uoB5chV-lkp@intel.com> (raw)
In-Reply-To: <20251217162744.352391-3-mkoutny@suse.com>
Hi Michal,
kernel test robot noticed the following build errors:
[auto build test ERROR on 8f0b4cce4481fb22653697cced8d0d04027cb1e8]
url: https://github.com/intel-lab-lkp/linux/commits/Michal-Koutn/cgroup-Eliminate-cgrp_ancestor_storage-in-cgroup_root/20251218-004346
base: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
patch link: https://lore.kernel.org/r/20251217162744.352391-3-mkoutny%40suse.com
patch subject: [PATCH 2/4] cgroup: Introduce cgroup_level() helper
config: sparc64-randconfig-r134-20251218 (https://download.01.org/0day-ci/archive/20251220/202512202230.1uoB5chV-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/20251220/202512202230.1uoB5chV-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/202512202230.1uoB5chV-lkp@intel.com/
All errors (new ones prefixed by >>):
>> block/blk-iocost.c:3006:53: error: expected ';' after expression
3006 | iocg->level = cgroup_level(blkg->blkcg->css.cgroup)
| ^
| ;
1 error generated.
vim +3006 block/blk-iocost.c
2981
2982 static void ioc_pd_init(struct blkg_policy_data *pd)
2983 {
2984 struct ioc_gq *iocg = pd_to_iocg(pd);
2985 struct blkcg_gq *blkg = pd_to_blkg(&iocg->pd);
2986 struct ioc *ioc = q_to_ioc(blkg->q);
2987 struct ioc_now now;
2988 struct blkcg_gq *tblkg;
2989 unsigned long flags;
2990
2991 ioc_now(ioc, &now);
2992
2993 iocg->ioc = ioc;
2994 atomic64_set(&iocg->vtime, now.vnow);
2995 atomic64_set(&iocg->done_vtime, now.vnow);
2996 atomic64_set(&iocg->active_period, atomic64_read(&ioc->cur_period));
2997 INIT_LIST_HEAD(&iocg->active_list);
2998 INIT_LIST_HEAD(&iocg->walk_list);
2999 INIT_LIST_HEAD(&iocg->surplus_list);
3000 iocg->hweight_active = WEIGHT_ONE;
3001 iocg->hweight_inuse = WEIGHT_ONE;
3002
3003 init_waitqueue_head(&iocg->waitq);
3004 hrtimer_setup(&iocg->waitq_timer, iocg_waitq_timer_fn, CLOCK_MONOTONIC, HRTIMER_MODE_ABS);
3005
> 3006 iocg->level = cgroup_level(blkg->blkcg->css.cgroup)
3007
3008 for (tblkg = blkg; tblkg; tblkg = tblkg->parent) {
3009 struct ioc_gq *tiocg = blkg_to_iocg(tblkg);
3010 iocg->ancestors[tiocg->level] = tiocg;
3011 }
3012
3013 spin_lock_irqsave(&ioc->lock, flags);
3014 weight_updated(iocg, &now);
3015 spin_unlock_irqrestore(&ioc->lock, flags);
3016 }
3017
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-12-20 15:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-17 16:27 [PATCH 0/4] Use __counted_by for ancestor arrays Michal Koutný
2025-12-17 16:27 ` [PATCH 2/4] cgroup: Introduce cgroup_level() helper Michal Koutný
2025-12-17 16:46 ` bot+bpf-ci
2025-12-20 14:59 ` kernel test robot [this message]
2025-12-20 21:49 ` kernel test robot
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=202512202230.1uoB5chV-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=axboe@kernel.dk \
--cc=bpf@vger.kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=coreteam@netfilter.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=hannes@cmpxchg.org \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=josef@toxicpanda.com \
--cc=kpsingh@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=mkoutny@suse.com \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pablo@netfilter.org \
--cc=rostedt@goodmis.org \
--cc=sdf@fomichev.me \
--cc=song@kernel.org \
--cc=tj@kernel.org \
--cc=yonghong.song@linux.dev \
--cc=yukuai@fnnas.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).