[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203181924.OJ9XUwqG-lkp@intel.com>
Date: Fri, 18 Mar 2022 19:28:46 +0800
From: kernel test robot <lkp@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [mingo-tip:master 1808/2335]
arch/x86/entry/vdso/vdso32-setup.c:55:12: warning: no previous prototype for
function 'sysenter_setup'
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head: 85293bf3fca6d85608cff1447ce3097583f15fab
commit: 9b4a1c67afe98651319ebba46faa74c696c9c79b [1808/2335] headers/deps: x86/cpu, arm64/cpu: Split out <asm/processor_api.h> from <asm/processor.h>
config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220318/202203181924.OJ9XUwqG-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6ec1e3d798f8eab43fb3a91028c6ab04e115fcb)
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/mingo/tip.git/commit/?id=9b4a1c67afe98651319ebba46faa74c696c9c79b
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip master
git checkout 9b4a1c67afe98651319ebba46faa74c696c9c79b
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/entry/vdso/ arch/x86/entry/vsyscall/ arch/x86/kernel/cpu/mtrr/ arch/x86/pci/ kernel/trace/ net/ipv6/
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 >>):
>> arch/x86/entry/vdso/vdso32-setup.c:55:12: warning: no previous prototype for function 'sysenter_setup' [-Wmissing-prototypes]
int __init sysenter_setup(void)
^
arch/x86/entry/vdso/vdso32-setup.c:55:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __init sysenter_setup(void)
^
static
1 warning generated.
vim +/sysenter_setup +55 arch/x86/entry/vdso/vdso32-setup.c
^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 54
a6c4e076ee4c1e arch/i386/kernel/sysenter.c Jeremy Fitzhardinge 2007-05-02 @55 int __init sysenter_setup(void)
^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 56 {
0a6d1fa0d2b48f arch/x86/entry/vdso/vdso32-setup.c Andy Lutomirski 2015-10-05 57 init_vdso_image(&vdso_image_32);
^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 58
^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 59 return 0;
^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 60 }
e6e5494cb23d19 arch/i386/kernel/sysenter.c Ingo Molnar 2006-06-27 61
:::::: The code at line 55 was first introduced by commit
:::::: a6c4e076ee4c1ea670e4faa55814e63dd08e3f29 [PATCH] i386: clean up identify_cpu
:::::: TO: Jeremy Fitzhardinge <jeremy@...p.org>
:::::: CC: Andi Kleen <andi@...il.nowhere.org>
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists