All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [peterz-queue:sched/task_h_load 25/27] kernel/sched/fair.c:456:36: error: implicit declaration of function 'cfs_of_of'; did you mean 'cfs_rq_of'?
Date: Thu, 03 Sep 2026 08:18:15 +0800	[thread overview]
Message-ID: <202609030829.NL68taR1-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/task_h_load
head:   4cbbcdc1a5585407e918e633887e57d978ddf0c6
commit: 65fc965b77f4f7f70aff38ad18e2a4e09880dad4 [25/27] sched/fair: Fold cfs_rq_of(se) into for_each_sched_entity()
config: arc-allnoconfig (https://download.01.org/0day-ci/archive/20260903/202609030829.NL68taR1-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260903/202609030829.NL68taR1-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/202609030829.NL68taR1-lkp@intel.com/

All errors (new ones prefixed by >>):

   kernel/sched/fair.c: In function 'update_curr_fair':
>> kernel/sched/fair.c:456:36: error: implicit declaration of function 'cfs_of_of'; did you mean 'cfs_rq_of'? [-Wimplicit-function-declaration]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                    ^~~~~~~~~
   kernel/sched/fair.c:2080:9: note: in expansion of macro 'for_each_sched_entity'
    2080 |         for_each_sched_entity(se, cfs_rq)
         |         ^~~~~~~~~~~~~~~~~~~~~
>> kernel/sched/fair.c:456:34: error: assignment to 'struct cfs_rq *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                  ^
   kernel/sched/fair.c:2080:9: note: in expansion of macro 'for_each_sched_entity'
    2080 |         for_each_sched_entity(se, cfs_rq)
         |         ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c: In function 'reweight_task_fair':
>> kernel/sched/fair.c:456:34: error: assignment to 'struct cfs_rq *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                  ^
   kernel/sched/fair.c:4815:9: note: in expansion of macro 'for_each_sched_entity'
    4815 |         for_each_sched_entity(se, cfs_rq)
         |         ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c: In function 'set_delayed':
>> kernel/sched/fair.c:456:34: error: assignment to 'struct cfs_rq *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                  ^
   kernel/sched/fair.c:6399:9: note: in expansion of macro 'for_each_sched_entity'
    6399 |         for_each_sched_entity(se, cfs_rq)
         |         ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c: In function 'clear_delayed':
>> kernel/sched/fair.c:456:34: error: assignment to 'struct cfs_rq *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                  ^
   kernel/sched/fair.c:6418:9: note: in expansion of macro 'for_each_sched_entity'
    6418 |         for_each_sched_entity(se, cfs_rq)
         |         ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c: In function 'enqueue_hierarchy':
>> kernel/sched/fair.c:456:34: error: assignment to 'struct cfs_rq *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                  ^
   kernel/sched/fair.c:7941:9: note: in expansion of macro 'for_each_sched_entity'
    7941 |         for_each_sched_entity(se, cfs_rq) {
         |         ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c: In function 'dequeue_hierarchy':
>> kernel/sched/fair.c:456:34: error: assignment to 'struct cfs_rq *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                  ^
   kernel/sched/fair.c:8078:9: note: in expansion of macro 'for_each_sched_entity'
    8078 |         for_each_sched_entity(se, cfs_rq) {
         |         ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c: In function 'task_tick_fair':
>> kernel/sched/fair.c:456:34: error: assignment to 'struct cfs_rq *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                  ^
   kernel/sched/fair.c:15056:17: note: in expansion of macro 'for_each_sched_entity'
   15056 |                 for_each_sched_entity(se, cfs_rq) {
         |                 ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c: In function 'set_next_task_fair':
>> kernel/sched/fair.c:456:34: error: assignment to 'struct cfs_rq *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     456 |         for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
         |                                  ^
   kernel/sched/fair.c:15242:9: note: in expansion of macro 'for_each_sched_entity'
   15242 |         for_each_sched_entity(se, cfs_rq) {
         |         ^~~~~~~~~~~~~~~~~~~~~


vim +456 kernel/sched/fair.c

   454	
   455	#define for_each_sched_entity(se, cfs_rq) \
 > 456		for (; (se) && ((cfs_rq) = cfs_of_of(se)); (se) = NULL)
   457	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-09-03  0:19 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=202609030829.NL68taR1-lkp@intel.com \
    --to=lkp@intel.com \
    --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 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.