* [qais-yousef:rt-thermal-pressure 2/2] kernel/sched/rt.c:2552:13: warning: no previous prototype for 'init_sched_rt_fitness_mask'
@ 2023-08-29 0:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-29 0:18 UTC (permalink / raw)
To: Qais Yousef; +Cc: oe-kbuild-all
tree: https://github.com/qais-yousef/linux rt-thermal-pressure
head: f9adf589d645dfda6f820165dafbc0f9d11747b4
commit: f9adf589d645dfda6f820165dafbc0f9d11747b4 [2/2] sched/rt: Support multi-criterion fitness search for lowest_rq
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230829/202308290858.gz5EC501-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230829/202308290858.gz5EC501-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/202308290858.gz5EC501-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/sched/build_policy.c:45:
>> kernel/sched/rt.c:2552:13: warning: no previous prototype for 'init_sched_rt_fitness_mask' [-Wmissing-prototypes]
2552 | void __init init_sched_rt_fitness_mask(int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/rt.c: In function 'task_tick_rt':
kernel/sched/rt.c:2705:37: error: 'push_task' undeclared (first use in this function); did you mean 'push_rt_task'?
2705 | push_task, &rq->push_work);
| ^~~~~~~~~
| push_rt_task
kernel/sched/rt.c:2705:37: note: each undeclared identifier is reported only once for each function it appears in
vim +/init_sched_rt_fitness_mask +2552 kernel/sched/rt.c
2551
> 2552 void __init init_sched_rt_fitness_mask(int cpu)
2553 {
2554 cpumask_var_t *fitness_mask_array;
2555 unsigned int i;
2556
2557 if (!NUM_FITNESS_FN)
2558 return;
2559
2560 fitness_mask_array = kcalloc_node(NUM_FITNESS_FN, sizeof(cpumask_var_t),
2561 GFP_KERNEL, cpu_to_node(cpu));
2562
2563 per_cpu(local_cpu_fitness_mask, cpu) = fitness_mask_array;
2564
2565 for (i = 0; i < NUM_FITNESS_FN; i++) {
2566 zalloc_cpumask_var_node(&fitness_mask_array[i], GFP_KERNEL,
2567 cpu_to_node(cpu));
2568 }
2569 }
2570
--
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:[~2023-08-29 0:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-29 0:18 [qais-yousef:rt-thermal-pressure 2/2] kernel/sched/rt.c:2552:13: warning: no previous prototype for 'init_sched_rt_fitness_mask' 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.