[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202302070742.iYcnoJwk-lkp@intel.com>
Date: Tue, 7 Feb 2023 07:41:54 +0800
From: kernel test robot <lkp@...el.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
x86@...nel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:x86/vdso 3/4] arch/x86/entry/vdso/vdso32/../vgetcpu.c:13:1:
warning: no previous prototype for '__vdso_getcpu'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/vdso
head: 5646bbd6684acf5c9b9dedb863b7d2f6f5a330fb
commit: 92d33063c081a82d25dd08a9cce03947c8ed9164 [3/4] x86/vdso: Provide getcpu for x86-32.
config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20230207/202302070742.iYcnoJwk-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=92d33063c081a82d25dd08a9cce03947c8ed9164
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip x86/vdso
git checkout 92d33063c081a82d25dd08a9cce03947c8ed9164
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/entry/vdso/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
In file included from arch/x86/entry/vdso/vdso32/vgetcpu.c:2:
>> arch/x86/entry/vdso/vdso32/../vgetcpu.c:13:1: warning: no previous prototype for '__vdso_getcpu' [-Wmissing-prototypes]
13 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
| ^~~~~~~~~~~~~
vim +/__vdso_getcpu +13 arch/x86/entry/vdso/vdso32/../vgetcpu.c
2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 11
23adec554a7648 arch/x86/vdso/vgetcpu.c Steven Rostedt 2008-05-12 12 notrace long
23adec554a7648 arch/x86/vdso/vgetcpu.c Steven Rostedt 2008-05-12 @13 __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 14 {
22245bdf0ad805 arch/x86/entry/vdso/vgetcpu.c Ingo Molnar 2018-10-08 15 vdso_read_cpunode(cpu, node);
ec3a94188df7d2 arch/x86/entry/vdso/vgetcpu.c Ingo Molnar 2018-10-08 16
2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 17 return 0;
2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 18 }
2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 19
:::::: The code at line 13 was first introduced by commit
:::::: 23adec554a7648f99c8acc0caf49c66320cd2b84 x86: add notrace annotations to vsyscall.
:::::: TO: Steven Rostedt <srostedt@...hat.com>
:::::: CC: Thomas Gleixner <tglx@...utronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
Powered by blists - more mailing lists