[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201612191238.PqXTTxL0%fengguang.wu@intel.com>
Date: Mon, 19 Dec 2016 12:13:12 +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 02/21] MIPS memblock: Add dts mem and reserved-mem
callbacks
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-rt305x_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/prom.c: In function 'early_init_dt_add_memory_arch':
>> arch/mips/kernel/prom.c:46:29: error: passing argument 1 of 'sanity_check_dt_memory' from incompatible pointer type [-Werror=incompatible-pointer-types]
if (sanity_check_dt_memory(&base, &size))
^
In file included from arch/mips/kernel/prom.c:18:0:
include/linux/of_fdt.h:93:12: note: expected 'phys_addr_t * {aka unsigned int *}' but argument is of type 'u64 * {aka long long unsigned int *}'
extern int sanity_check_dt_memory(phys_addr_t *base, phys_addr_t *size);
^~~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/prom.c:46:36: error: passing argument 2 of 'sanity_check_dt_memory' from incompatible pointer type [-Werror=incompatible-pointer-types]
if (sanity_check_dt_memory(&base, &size))
^
In file included from arch/mips/kernel/prom.c:18:0:
include/linux/of_fdt.h:93:12: note: expected 'phys_addr_t * {aka unsigned int *}' but argument is of type 'u64 * {aka long long unsigned int *}'
extern int sanity_check_dt_memory(phys_addr_t *base, phys_addr_t *size);
^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/sanity_check_dt_memory +46 arch/mips/kernel/prom.c
40 }
41
42 #ifdef CONFIG_USE_OF
43 void __init early_init_dt_add_memory_arch(u64 base, u64 size)
44 {
45 /* Check whether specified region is well formed */
> 46 if (sanity_check_dt_memory(&base, &size))
47 return;
48
49 /* Memory region should be in boot_mem_map, so use the old method */
---
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" (13858 bytes)
Powered by blists - more mailing lists