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(a)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@lists.01.org