lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 28 May 2020 03:09:44 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, x86@...nel.org,
        Ingo Molnar <mingo@...nel.org>
Subject: [tip:WIP.sched/core 6/9] kernel//sched/core.c:2299:6: warning: no
 previous prototype for function 'send_call_function_single_ipi'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (29807 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ