[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109030732.o6eTW2YJ-lkp@intel.com>
Date: Fri, 3 Sep 2021 07:32:34 +0800
From: kernel test robot <lkp@...el.com>
To: "Paul E. McKenney" <paulmck@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [rcu:dev.2021.08.25a 114/115] kernel/time/tick-oneshot.c:22:7:
warning: no previous prototype for function 'tick_program_event_get_debug'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.08.25a
head: 2ba1d046d9bc5b4496027d120e3ddcdfbb2fe9f4
commit: 79b77a560631f5a34c7dd062f1312430bc092f44 [114/115] EXP cpu: Track path through tick_program_event()
config: hexagon-randconfig-r041-20210903 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c9948e9254fbb6ea00f66c7b4542311d21e060be)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=79b77a560631f5a34c7dd062f1312430bc092f44
git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
git fetch --no-tags rcu dev.2021.08.25a
git checkout 79b77a560631f5a34c7dd062f1312430bc092f44
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> kernel/time/tick-oneshot.c:22:7: warning: no previous prototype for function 'tick_program_event_get_debug' [-Wmissing-prototypes]
char *tick_program_event_get_debug(int cpu)
^
kernel/time/tick-oneshot.c:22:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
char *tick_program_event_get_debug(int cpu)
^
static
1 warning generated.
vim +/tick_program_event_get_debug +22 kernel/time/tick-oneshot.c
21
> 22 char *tick_program_event_get_debug(int cpu)
23 {
24 return READ_ONCE(per_cpu(tick_program_event_codepath, cpu));
25 }
26
---
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" (30326 bytes)
Powered by blists - more mailing lists