On 4/9/21 9:23 PM, kernel test robot wrote:
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
This patch:
commit 36960edcc32ce26bcf470e6129c4dc26a44e97ca
Author: Helge Deller <deller(a)gmx.de>
UPSTREAM: parisc: Switch from DISCONTIGMEM to SPARSEMEM
was cherry-picked into this 4.19/android_r tree.
It was only submitted to kernel v5.2 and is not suitable for earlier kernels.
Greg, can you please drop this specific patch again from the
linux-intel-lts.git/android_r tree to avoid this build error.
Thanks!
Helge