[lkml]   [2020]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectarch/x86/mm/numa.c:925:5: warning: no previous prototype for function 'memory_add_physaddr_to_nid'
tree: 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 ( 8bf4c1f4fb257774f66c8cda07adc6c5e8668326)
reproduce (this is a W=1 build):
wget -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 <>

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)
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 <>
:::::: CC: Dan Williams <>

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2020-07-25 22:53    [W:0.068 / U:2.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site