Hi Christoph,
First bad commit (maybe != root cause):
tree:
git://git.infradead.org/users/hch/misc.git mips-ioremap-cleanups
head: a6fb959148f8c6dfe0fe43b54473d33246659232
commit: be647238995e1d96d6744d18d1fff974691b6d0c [6/7] MIPS: move ioremap_prot und iounmap
out of line
config: mips-gpr_defconfig (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.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 be647238995e1d96d6744d18d1fff974691b6d0c
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/mips/alchemy/common/setup.c: In function 'io_remap_pfn_range':
> arch/mips/alchemy/common/setup.c:99:9: error: implicit
declaration of function 'remap_pfn_range'; did you mean
'io_remap_pfn_range'? [-Werror=implicit-function-declaration]
99 |
return remap_pfn_range(vma, vaddr, phys_addr >> PAGE_SHIFT, size, prot);
| ^~~~~~~~~~~~~~~
| io_remap_pfn_range
cc1: all warnings being treated as errors
vim +99 arch/mips/alchemy/common/setup.c
1864554a205d5d Christoph Hellwig 2020-03-23 93
1864554a205d5d Christoph Hellwig 2020-03-23 94 int io_remap_pfn_range(struct
vm_area_struct *vma, unsigned long vaddr,
1864554a205d5d Christoph Hellwig 2020-03-23 95 unsigned long pfn, unsigned long size,
pgprot_t prot)
1864554a205d5d Christoph Hellwig 2020-03-23 96 {
1864554a205d5d Christoph Hellwig 2020-03-23 97 phys_addr_t phys_addr =
fixup_bigphys_addr(pfn << PAGE_SHIFT, size);
1864554a205d5d Christoph Hellwig 2020-03-23 98
1864554a205d5d Christoph Hellwig 2020-03-23 @99 return remap_pfn_range(vma, vaddr,
phys_addr >> PAGE_SHIFT, size, prot);
:::::: The code at line 99 was first introduced by commit
:::::: 1864554a205d5dc59bb669689006db69f8ca0b48 MIPS: cleanup fixup_bigphys_addr handling
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Christoph Hellwig <hch(a)lst.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org