Hi Helge,
FYI, the error/warning still remains.
tree:
https://github.com/intel/linux-intel-lts.git 4.19/android_r
head: 072f407465e8e25a3c2c22590e1ab72ccf335151
commit: 36960edcc32ce26bcf470e6129c4dc26a44e97ca [20730/22631] UPSTREAM: parisc: Switch
from DISCONTIGMEM to SPARSEMEM
config: parisc-randconfig-r035-20210409 (attached as .config)
compiler: hppa-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
#
https://github.com/intel/linux-intel-lts/commit/36960edcc32ce26bcf470e612...
git remote add intel-linux-intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.19/android_r
git checkout 36960edcc32ce26bcf470e6129c4dc26a44e97ca
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
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/parisc/mm/init.c: In function 'pagetable_init':
arch/parisc/mm/init.c:655:17: warning: variable 'end_paddr' set but not used
[-Wunused-but-set-variable]
655 | unsigned long end_paddr;
| ^~~~~~~~~
arch/parisc/mm/init.c: In function 'paging_init':
> arch/parisc/mm/init.c:734:2: error: implicit declaration of
function 'memblocks_present'; did you mean 'memblock_reserve'?
[-Werror=implicit-function-declaration]
734 | memblocks_present();
| ^~~~~~~~~~~~~~~~~
| memblock_reserve
cc1: some warnings being treated as errors
vim +734 arch/parisc/mm/init.c
721
722 void __init paging_init(void)
723 {
724 setup_bootmem();
725 pagetable_init();
726 gateway_init();
727 flush_cache_all_local(); /* start with known state */
728 flush_tlb_all_local(NULL);
729
730 /*
731 * Mark all memblocks as present for sparsemem using
732 * memory_present() and then initialize sparsemem.
733 */
734 memblocks_present();
735 sparse_init();
736 parisc_bootmem_free();
737 }
738
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org