* [qais-yousef:overutilized-affinity 2/2] kernel/sched/fair.c:12694:2: error: call to undeclared function 'set_task_max_allowed_capacity'; ISO C99 and later do not support implicit function declarations
@ 2024-02-04 8:12 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-04 8:12 UTC (permalink / raw)
To: Qais Yousef; +Cc: llvm, oe-kbuild-all
tree: https://github.com/qais-yousef/linux overutilized-affinity
head: 22d6e6b5c20133897944454d2ca4924389d2da90
commit: 3c515086c41e884b65c919541cc1bb563be80ed6 [2/2] sched/fair: Check a task has a fitting cpu when updating misfit
config: i386-randconfig-001-20240204 (https://download.01.org/0day-ci/archive/20240204/202402041649.mdKgSRsZ-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240204/202402041649.mdKgSRsZ-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/202402041649.mdKgSRsZ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/sched/fair.c:12694:2: error: call to undeclared function 'set_task_max_allowed_capacity'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
12694 | set_task_max_allowed_capacity(p);
| ^
kernel/sched/fair.c:12819:2: error: call to undeclared function 'set_task_max_allowed_capacity'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
12819 | set_task_max_allowed_capacity(p);
| ^
2 errors generated.
vim +/set_task_max_allowed_capacity +12694 kernel/sched/fair.c
12678
12679 /*
12680 * called on fork with the child task as argument from the parent's context
12681 * - child not yet on the tasklist
12682 * - preemption disabled
12683 */
12684 static void task_fork_fair(struct task_struct *p)
12685 {
12686 struct sched_entity *se = &p->se, *curr;
12687 struct cfs_rq *cfs_rq;
12688 struct rq *rq = this_rq();
12689 struct rq_flags rf;
12690
12691 rq_lock(rq, &rf);
12692 update_rq_clock(rq);
12693
12694 set_task_max_allowed_capacity(p);
12695
12696 cfs_rq = task_cfs_rq(current);
12697 curr = cfs_rq->curr;
12698 if (curr)
12699 update_curr(cfs_rq);
12700 place_entity(cfs_rq, se, ENQUEUE_INITIAL);
12701 rq_unlock(rq, &rf);
12702 }
12703
--
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-02-04 8:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-04 8:12 [qais-yousef:overutilized-affinity 2/2] kernel/sched/fair.c:12694:2: error: call to undeclared function 'set_task_max_allowed_capacity'; ISO C99 and later do not support implicit function declarations 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.