[tip:WIP.sched/core 6/9] kernel//sched/core.c:2299:6: warning: no previous prototype for 'send_call_function_single_ipi'

From: kbuild test robot
Date: Wed May 27 2020 - 06:06:32 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head: 68a1740c687d4a75b9e9dea0ab0aae61f167c880
commit: 516bf252eeb5d316895d83a5bcbe9d5668c5d41c [6/9] smp: Optimize send_call_function_single_ipi()
config: mips-maltaup_defconfig (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 516bf252eeb5d316895d83a5bcbe9d5668c5d41c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

kernel//sched/core.c:2116:6: warning: no previous prototype for 'sched_set_stop_task' [-Wmissing-prototypes]
2116 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^~~~~~~~~~~~~~~~~~~
>> kernel//sched/core.c:2299:6: warning: no previous prototype for 'send_call_function_single_ipi' [-Wmissing-prototypes]
2299 | void send_call_function_single_ipi(int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/send_call_function_single_ipi +2299 kernel//sched/core.c

2298
> 2299 void send_call_function_single_ipi(int cpu)
2300 {
2301 struct rq *rq = cpu_rq(cpu);
2302
2303 if (!set_nr_if_polling(rq->idle))
2304 arch_send_call_function_single_ipi(cpu);
2305 else
2306 trace_sched_wake_idle_without_ipi(cpu);
2307 }
2308

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip