All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip:WIP.sched/core 6/9] kernel//sched/core.c:2299:6: warning: no previous prototype for function 'send_call_function_single_ipi'
@ 2020-05-27 19:09 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-27 19:09 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: kbuild-all, clang-built-linux, linux-kernel, x86, Ingo Molnar

[-- Attachment #1: Type: text/plain, Size: 2637 bytes --]

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: x86_64-randconfig-a015-20200527 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 516bf252eeb5d316895d83a5bcbe9d5668c5d41c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

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

kernel//sched/core.c:2116:6: warning: no previous prototype for function 'sched_set_stop_task' [-Wmissing-prototypes]
void sched_set_stop_task(int cpu, struct task_struct *stop)
^
kernel//sched/core.c:2116:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void sched_set_stop_task(int cpu, struct task_struct *stop)
^
static
>> kernel//sched/core.c:2299:6: warning: no previous prototype for function 'send_call_function_single_ipi' [-Wmissing-prototypes]
void send_call_function_single_ipi(int cpu)
^
kernel//sched/core.c:2299:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void send_call_function_single_ipi(int cpu)
^
static
kernel//sched/core.c:806:28: warning: unused function 'uclamp_bucket_base_value' [-Wunused-function]
static inline unsigned int uclamp_bucket_base_value(unsigned int clamp_value)
^
kernel//sched/core.c:1045:1: warning: unused function 'uclamp_update_active' [-Wunused-function]
uclamp_update_active(struct task_struct *p, enum uclamp_id clamp_id)
^
4 warnings generated.

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29807 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:WIP.sched/core 6/9] kernel//sched/core.c:2299:6: warning: no previous prototype for function 'send_call_function_single_ipi'
@ 2020-05-27 19:09 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-27 19:09 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2697 bytes --]

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: x86_64-randconfig-a015-20200527 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 516bf252eeb5d316895d83a5bcbe9d5668c5d41c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

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

kernel//sched/core.c:2116:6: warning: no previous prototype for function 'sched_set_stop_task' [-Wmissing-prototypes]
void sched_set_stop_task(int cpu, struct task_struct *stop)
^
kernel//sched/core.c:2116:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void sched_set_stop_task(int cpu, struct task_struct *stop)
^
static
>> kernel//sched/core.c:2299:6: warning: no previous prototype for function 'send_call_function_single_ipi' [-Wmissing-prototypes]
void send_call_function_single_ipi(int cpu)
^
kernel//sched/core.c:2299:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void send_call_function_single_ipi(int cpu)
^
static
kernel//sched/core.c:806:28: warning: unused function 'uclamp_bucket_base_value' [-Wunused-function]
static inline unsigned int uclamp_bucket_base_value(unsigned int clamp_value)
^
kernel//sched/core.c:1045:1: warning: unused function 'uclamp_update_active' [-Wunused-function]
uclamp_update_active(struct task_struct *p, enum uclamp_id clamp_id)
^
4 warnings generated.

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29807 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-27 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 19:09 [tip:WIP.sched/core 6/9] kernel//sched/core.c:2299:6: warning: no previous prototype for function 'send_call_function_single_ipi' kbuild test robot
2020-05-27 19:09 ` kbuild 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.