Re: [PATCH 05/21] MIPS memblock: Alter initrd memory reservation method
From: kbuild test robot
Date: Mon Dec 19 2016 - 00:09:45 EST
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-jazz_defconfig (attached as .config)
compiler: mipsel-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:273:20: error: 'is_lowmem_and_valid' defined but not used [-Werror=unused-function]
static bool __init is_lowmem_and_valid(const char *name, phys_addr_t base,
^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/is_lowmem_and_valid +273 arch/mips/kernel/setup.c
267 }
268 early_param("mem", early_parse_mem);
269
270 /*
271 * Helper method checking whether passed lowmem region is valid
272 */
> 273 static bool __init is_lowmem_and_valid(const char *name, phys_addr_t base,
274 phys_addr_t size)
275 {
276 phys_addr_t end = base + size;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip