[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201612191208.H6zS6YI3%fengguang.wu@intel.com>
Date: Mon, 19 Dec 2016 12:09:36 +0800
From: kbuild test robot <lkp@...el.com>
To: Serge Semin <fancer.lancer@...il.com>
Cc: kbuild-all@...org, ralf@...ux-mips.org, paul.burton@...tec.com,
rabinv@...s.com, matt.redfearn@...tec.com, james.hogan@...tec.com,
alexander.sverdlin@...ia.com, robh+dt@...nel.org,
frowand.list@...il.com, Sergey.Semin@...latforms.ru,
linux-mips@...ux-mips.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Serge Semin <fancer.lancer@...il.com>
Subject: Re: [PATCH 07/21] MIPS memblock: Alter elfcorehdr parameters parser
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:439:7: error: implicit declaration of function 'is_vmcore_usable' [-Werror=implicit-function-declaration]
if (!is_vmcore_usable())
^~~~~~~~~~~~~~~~
>> arch/mips/kernel/setup.c:443:6: error: 'elfcorehdr_addr' undeclared (first use in this function)
if (elfcorehdr_addr + elfcorehdr_size >= mips_lowmem_limit) {
^~~~~~~~~~~~~~~
arch/mips/kernel/setup.c:443:6: note: each undeclared identifier is reported only once for each function it appears in
>> arch/mips/kernel/setup.c:443:24: error: 'elfcorehdr_size' undeclared (first use in this function)
if (elfcorehdr_addr + elfcorehdr_size >= mips_lowmem_limit) {
^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/is_vmcore_usable +439 arch/mips/kernel/setup.c
433 {
434 #ifdef CONFIG_PROC_VMCORE
435 /*
436 * Don't reserve anything if kernel isn't booting after a panic and
437 * vmcore is usable (see linux/crash_dump.h for details)
438 */
> 439 if (!is_vmcore_usable())
440 return;
441
442 /* Check whether the passed address belongs to low memory */
> 443 if (elfcorehdr_addr + elfcorehdr_size >= mips_lowmem_limit) {
444 pr_err("Elfcorehdr %08zx @ %pa doesn't belong to low memory",
445 (size_t)elfcorehdr_size, &elfcorehdr_addr);
446 return;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (44732 bytes)
Powered by blists - more mailing lists