From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [peterz-queue:sched/flat-2026-06-04 58/62] kernel/sched/debug.c:274:2: error: call to undeclared function '__sched_cgroup_mode_update'; ISO C99 and later do not support implicit function declarations
Date: Sat, 06 Jun 2026 12:06:27 +0800 [thread overview]
Message-ID: <202606061224.6SlMZvGc-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/flat-2026-06-04
head: b89fcd232db2b7117a3255be623eeb4c67ece726
commit: 582f7ee48dc53ebe117cf24e3a2b2102b25dcbd7 [58/62] sched/fair: Add cgroup_mode: up
config: x86_64-randconfig-014-20260605 (https://download.01.org/0day-ci/archive/20260606/202606061224.6SlMZvGc-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/20260606/202606061224.6SlMZvGc-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/202606061224.6SlMZvGc-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_utility.c:71:
>> kernel/sched/debug.c:274:2: error: call to undeclared function '__sched_cgroup_mode_update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
274 | __sched_cgroup_mode_update(mode);
| ^
1 error generated.
vim +/__sched_cgroup_mode_update +274 kernel/sched/debug.c
256
257 static ssize_t sched_dynamic_write(struct file *filp, const char __user *ubuf,
258 size_t cnt, loff_t *ppos)
259 {
260 char buf[16];
261 int mode;
262
263 if (cnt > 15)
264 cnt = 15;
265
266 if (copy_from_user(buf, ubuf, cnt))
267 return -EFAULT;
268
269 buf[cnt] = 0;
270 mode = sched_dynamic_mode(strstrip(buf));
271 if (mode < 0)
272 return mode;
273
> 274 __sched_cgroup_mode_update(mode);
275 sched_dynamic_update(mode);
276
277 *ppos += cnt;
278
279 return cnt;
280 }
281
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-06 4:07 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=202606061224.6SlMZvGc-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peterz@infradead.org \
/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