From: kernel test robot <lkp@intel.com>
To: Qais Yousef <qais.yousef@arm.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [qais-yousef:rt-thermal-pressure 2/2] kernel/sched/rt.c:2552:13: warning: no previous prototype for 'init_sched_rt_fitness_mask'
Date: Tue, 29 Aug 2023 08:18:26 +0800 [thread overview]
Message-ID: <202308290858.gz5EC501-lkp@intel.com> (raw)
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
reply other threads:[~2023-08-29 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=202308290858.gz5EC501-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=qais.yousef@arm.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 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.