tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/mips/linux.git mips-next head: a94e4f24ec836c8984f839594bad7454184975b1 commit: a5718fe8f70f33b1b5b47a153057cfdd19684598 [52/53] MIPS: mm: Drop boot_mem_map config: mips-allmodconfig (attached as .config) compiler: mips-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout a5718fe8f70f33b1b5b47a153057cfdd19684598 # save the attached .config to linux build tree GCC_VERSION=7.4.0 make.cross ARCH=mips If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): arch/mips/mm/init.c: In function 'mem_init_free_highmem': >> arch/mips/mm/init.c:438:20: error: 'page' undeclared (first use in this function) SetPageReserved(page); ^~~~ arch/mips/mm/init.c:438:20: note: each undeclared identifier is reported only once for each function it appears in vim +/page +438 arch/mips/mm/init.c 3d503753b40469 Daniel Jacobowitz 2005-01-20 427 a5718fe8f70f33 Jiaxun Yang 2019-08-19 428 static inline void __init mem_init_free_highmem(void) ^1da177e4c3f41 Linus Torvalds 2005-04-16 429 { 1132137e87898d Jiang Liu 2013-07-03 430 #ifdef CONFIG_HIGHMEM 1132137e87898d Jiang Liu 2013-07-03 431 unsigned long tmp; 1132137e87898d Jiang Liu 2013-07-03 432 058effe7fdc577 Paul Burton 2016-09-02 433 if (cpu_has_dc_aliases) 058effe7fdc577 Paul Burton 2016-09-02 434 return; 058effe7fdc577 Paul Burton 2016-09-02 435 1132137e87898d Jiang Liu 2013-07-03 436 for (tmp = highstart_pfn; tmp < highend_pfn; tmp++) { a5718fe8f70f33 Jiaxun Yang 2019-08-19 437 if (!memblock_is_memory(PFN_PHYS(tmp))) 1132137e87898d Jiang Liu 2013-07-03 @438 SetPageReserved(page); 1132137e87898d Jiang Liu 2013-07-03 439 else 1132137e87898d Jiang Liu 2013-07-03 440 free_highmem_page(page); 1132137e87898d Jiang Liu 2013-07-03 441 } 1132137e87898d Jiang Liu 2013-07-03 442 #endif 1132137e87898d Jiang Liu 2013-07-03 443 } 1132137e87898d Jiang Liu 2013-07-03 444 :::::: The code at line 438 was first introduced by commit :::::: 1132137e87898d0b6786d85a99de35ce196ecbfb mm/MIPS: prepare for removing num_physpages and simplify mem_init() :::::: TO: Jiang Liu <liuj97@xxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip