tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/mips/linux.git mips-next head: a94e4f24ec836c8984f839594bad7454184975b1 commit: a94e4f24ec836c8984f839594bad7454184975b1 [53/53] MIPS: init: 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 a94e4f24ec836c8984f839594bad7454184975b1 # 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/kernel/setup.c: In function 'early_parse_elfcorehdr': >> arch/mips/kernel/setup.c:461:26: error: 'struct memblock_region' has no member named 'end' unsigned long end = mem->end; ^~ vim +461 arch/mips/kernel/setup.c 450 451 #ifdef CONFIG_PROC_VMCORE 452 unsigned long setup_elfcorehdr, setup_elfcorehdr_size; 453 static int __init early_parse_elfcorehdr(char *p) 454 { 455 struct memblock_region *mem; 456 457 setup_elfcorehdr = memparse(p, &p); 458 459 for_each_memblock(memory, mem) { 460 unsigned long start = mem->base; > 461 unsigned long end = mem->end; 462 if (setup_elfcorehdr >= start && setup_elfcorehdr < end) { 463 /* 464 * Reserve from the elf core header to the end of 465 * the memory segment, that should all be kdump 466 * reserved memory. 467 */ 468 setup_elfcorehdr_size = end - setup_elfcorehdr; 469 break; 470 } 471 } 472 /* 473 * If we don't find it in the memory map, then we shouldn't 474 * have to worry about it, as the new kernel won't use it. 475 */ 476 return 0; 477 } 478 early_param("elfcorehdr", early_parse_elfcorehdr); 479 #endif 480 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip