* arch/mips/pmcs-msp71xx/msp_prom.c:64:34: error: 'MAX_PROM_MEM' undeclared here (not in a function); did you mean 'DEV_PROP_MAX'?
@ 2019-09-25 22:59 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-09-25 22:59 UTC (permalink / raw)
To: Jiaxun Yang; +Cc: kbuild-all, linux-kernel, Paul Burton
[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f41def397161053eb0d3ed6861ef65985efbf293
commit: b3c948e2c00f561b22a9865a9b9b952072973285 MIPS: msp: Record prom memory
date: 5 weeks ago
config: mips-msp71xx_defconfig (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 b3c948e2c00f561b22a9865a9b9b952072973285
# 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@intel.com>
All errors (new ones prefixed by >>):
>> arch/mips/pmcs-msp71xx/msp_prom.c:64:34: error: 'MAX_PROM_MEM' undeclared here (not in a function); did you mean 'DEV_PROP_MAX'?
static phys_addr_t prom_mem_base[MAX_PROM_MEM] __initdata;
^~~~~~~~~~~~
DEV_PROP_MAX
arch/mips/pmcs-msp71xx/msp_prom.c: In function 'prom_free_prom_memory':
>> arch/mips/pmcs-msp71xx/msp_prom.c:380:16: error: unused variable 'addr' [-Werror=unused-variable]
unsigned long addr;
^~~~
At top level:
>> arch/mips/pmcs-msp71xx/msp_prom.c:65:20: error: 'prom_mem_size' defined but not used [-Werror=unused-variable]
static phys_addr_t prom_mem_size[MAX_PROM_MEM] __initdata;
^~~~~~~~~~~~~
>> arch/mips/pmcs-msp71xx/msp_prom.c:64:20: error: 'prom_mem_base' defined but not used [-Werror=unused-variable]
static phys_addr_t prom_mem_base[MAX_PROM_MEM] __initdata;
^~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +64 arch/mips/pmcs-msp71xx/msp_prom.c
63
> 64 static phys_addr_t prom_mem_base[MAX_PROM_MEM] __initdata;
> 65 static phys_addr_t prom_mem_size[MAX_PROM_MEM] __initdata;
66 static unsigned int nr_prom_mem __initdata;
67
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 16326 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-25 23:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-25 22:59 arch/mips/pmcs-msp71xx/msp_prom.c:64:34: error: 'MAX_PROM_MEM' undeclared here (not in a function); did you mean 'DEV_PROP_MAX'? kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®