* arch/x86/mm/numa.c:925:5: warning: no previous prototype for function 'memory_add_physaddr_to_nid'
@ 2020-07-25 20:47 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-25 20:47 UTC (permalink / raw)
To: Dan Williams; +Cc: kbuild-all, clang-built-linux, linux-kernel, Ingo Molnar
[-- Attachment #1: Type: text/plain, Size: 2042 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 23ee3e4e5bd27bdbc0f1785eef7209ce872794c7
commit: 7b27a8622f802761d5c6abd6c37b22312a35343c libnvdimm/e820: Retrieve and populate correct 'target_node' info
date: 5 months ago
config: x86_64-randconfig-a006-20200726 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8bf4c1f4fb257774f66c8cda07adc6c5e8668326)
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 7b27a8622f802761d5c6abd6c37b22312a35343c
# 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: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/mm/numa.c:925:5: warning: no previous prototype for function 'memory_add_physaddr_to_nid' [-Wmissing-prototypes]
int memory_add_physaddr_to_nid(u64 start)
^
arch/x86/mm/numa.c:925:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int memory_add_physaddr_to_nid(u64 start)
^
static
1 warning generated.
vim +/memory_add_physaddr_to_nid +925 arch/x86/mm/numa.c
5d30f92e763128 Dan Williams 2020-02-16 924
5d30f92e763128 Dan Williams 2020-02-16 @925 int memory_add_physaddr_to_nid(u64 start)
:::::: The code at line 925 was first introduced by commit
:::::: 5d30f92e7631286b8617777c5400c8eadcae50a1 x86/NUMA: Provide a range-to-target_node lookup facility
:::::: TO: Dan Williams <dan.j.williams@intel.com>
:::::: CC: Dan Williams <dan.j.williams@intel.com>
---
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: 34703 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-25 20:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-25 20:47 arch/x86/mm/numa.c:925:5: warning: no previous prototype for function 'memory_add_physaddr_to_nid' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®