All of lore.kernel.org
 help / color / mirror / Atom feed
* [rppt:memblock/iterators-cleanup/v3 12/17] arch/s390/mm/vmem.c:561:3: error: implicit declaration of function 'vmem_add_mem'; did you mean
@ 2020-08-09 19:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-09 19:18 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git memblock/iterators-cleanup/v3
head:   f0d593460d044672ca2ea065efc283e30dd23ef1
commit: 01b2e0673f21479222dd0f387b5b73ec037d8096 [12/17] arch, drivers: replace for_each_membock() with for_each_mem_range()
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
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
        git checkout 01b2e0673f21479222dd0f387b5b73ec037d8096
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/s390/mm/vmem.c: In function 'vmem_map_init':
>> arch/s390/mm/vmem.c:561:3: error: implicit declaration of function 'vmem_add_mem'; did you mean 'vmem_add_range'? [-Werror=implicit-function-declaration]
     561 |   vmem_add_mem(start, end - start);
         |   ^~~~~~~~~~~~
         |   vmem_add_range
   cc1: some warnings being treated as errors

vim +561 arch/s390/mm/vmem.c

   549	
   550	/*
   551	 * map whole physical memory to virtual memory (identity mapping)
   552	 * we reserve enough space in the vmalloc area for vmemmap to hotplug
   553	 * additional memory segments.
   554	 */
   555	void __init vmem_map_init(void)
   556	{
   557		phys_addr_t start, end;
   558		u64 i;
   559	
   560		for_each_mem_range(i, &start, &end)
 > 561			vmem_add_mem(start, end - start);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 63081 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-09 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-09 19:18 [rppt:memblock/iterators-cleanup/v3 12/17] arch/s390/mm/vmem.c:561:3: error: implicit declaration of function 'vmem_add_mem'; did you mean kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.