tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git r/yinghai-v12 head: 751163707710627927182d74d368dc466db9fbb8 commit: 97e7384630ac46ed5b828ac8298059eda8bd0958 [1/15] PCI: Let pci_mmap_page_range() take extra resource pointer config: microblaze-mmu_defconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 4.9.0 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 git checkout 97e7384630ac46ed5b828ac8298059eda8bd0958 # save the attached .config to linux build tree make.cross ARCH=microblaze Note: the pci/r/yinghai-v12 HEAD 751163707710627927182d74d368dc466db9fbb8 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): arch/microblaze/pci/pci-common.c: In function 'pci_mmap_page_range': >> arch/microblaze/pci/pci-common.c:313:19: error: 'rp' redeclared as different kind of symbol struct resource *rp; ^ arch/microblaze/pci/pci-common.c:307:63: note: previous definition of 'rp' was here int pci_mmap_page_range(struct pci_dev *dev, struct resource *rp, ^ vim +/rp +313 arch/microblaze/pci/pci-common.c 97e73846 Yinghai Lu 2016-06-03 307 int pci_mmap_page_range(struct pci_dev *dev, struct resource *rp, 97e73846 Yinghai Lu 2016-06-03 308 struct vm_area_struct *vma, d3afa58c Michal Simek 2010-01-18 309 enum pci_mmap_state mmap_state, int write_combine) d3afa58c Michal Simek 2010-01-18 310 { d3afa58c Michal Simek 2010-01-18 311 resource_size_t offset = d3afa58c Michal Simek 2010-01-18 312 ((resource_size_t)vma->vm_pgoff) << PAGE_SHIFT; d3afa58c Michal Simek 2010-01-18 @313 struct resource *rp; d3afa58c Michal Simek 2010-01-18 314 int ret; d3afa58c Michal Simek 2010-01-18 315 d3afa58c Michal Simek 2010-01-18 316 rp = __pci_mmap_make_offset(dev, &offset, mmap_state); :::::: The code at line 313 was first introduced by commit :::::: d3afa58c20b65155af9f0d5eaa59fe2d367ac432 microblaze: Add core PCI files :::::: TO: Michal Simek <monstr@xxxxxxxxx> :::::: CC: Michal Simek <monstr@xxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data