Re: [PATCH 10/21] MIPS memblock: Discard bootmem allocator initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Serge,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.9 next-20161216]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Serge-Semin/MIPS-memblock-Remove-bootmem-code-and-switch-to-NO_BOOTMEM/20161219-105045
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   arch/mips/kernel/setup.c: In function 'mips_reserve_elfcorehdr':
   arch/mips/kernel/setup.c:540:7: error: implicit declaration of function 'is_vmcore_usable' [-Werror=implicit-function-declaration]
     if (!is_vmcore_usable())
          ^~~~~~~~~~~~~~~~
   arch/mips/kernel/setup.c:544:6: error: 'elfcorehdr_addr' undeclared (first use in this function)
     if (elfcorehdr_addr + elfcorehdr_size >= mips_lowmem_limit) {
         ^~~~~~~~~~~~~~~
   arch/mips/kernel/setup.c:544:6: note: each undeclared identifier is reported only once for each function it appears in
   arch/mips/kernel/setup.c:544:24: error: 'elfcorehdr_size' undeclared (first use in this function)
     if (elfcorehdr_addr + elfcorehdr_size >= mips_lowmem_limit) {
                           ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:13:0,
                    from include/asm-generic/bug.h:13,
                    from arch/mips/include/asm/bug.h:41,
                    from include/linux/bug.h:4,
                    from include/linux/mmdebug.h:4,
                    from include/linux/mm.h:8,
                    from include/linux/memblock.h:18,
                    from arch/mips/kernel/setup.c:17:
   arch/mips/kernel/setup.c: In function 'find_pfn_limits':
>> arch/mips/kernel/setup.c:644:29: error: 'highstart_pfn' undeclared (first use in this function)
      min_low_pfn, max_low_pfn, highstart_pfn, highend_pfn, max_pfn);
                                ^
   include/linux/printk.h:299:34: note: in definition of macro 'pr_info'
     printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
                                     ^~~~~~~~~~~
>> arch/mips/kernel/setup.c:644:44: error: 'highend_pfn' undeclared (first use in this function)
      min_low_pfn, max_low_pfn, highstart_pfn, highend_pfn, max_pfn);
                                               ^
   include/linux/printk.h:299:34: note: in definition of macro 'pr_info'
     printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
                                     ^~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/highstart_pfn +644 arch/mips/kernel/setup.c

   638	#ifdef CONFIG_HIGHMEM
   639		highstart_pfn = max_low_pfn;
   640		highend_pfn = max_pfn <= highstart_pfn ? highstart_pfn : max_pfn;
   641	#endif
   642		pr_info("PFNs: low min %lu, low max %lu, high start %lu, high end %lu,"
   643			"max %lu\n",
 > 644			min_low_pfn, max_low_pfn, highstart_pfn, highend_pfn, max_pfn);
   645	}
   646	
   647	/*

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux