tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-rcar head: 3ad9978535cc5a5cce492fcfe414a1ff8804436a commit: b0fd5e0b3e4fa7d3c16c4081fd5762ded84f2fe8 [22/23] PCI: rcar-gen2: Name private struct pointer "rcar_pci" consistently config: arm-shmobile_defconfig (attached as .config) compiler: arm-linux-gnueabi-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 git checkout b0fd5e0b3e4fa7d3c16c4081fd5762ded84f2fe8 # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/pci/host/pci-rcar-gen2.c: In function 'rcar_pci_parse_map_dma_ranges': >> drivers/pci/host/pci-rcar-gen2.c:344:18: error: 'pci' undeclared (first use in this function) if (lowaddr < pci->window_size) { ^~~ drivers/pci/host/pci-rcar-gen2.c:344:18: note: each undeclared identifier is reported only once for each function it appears in vim +/pci +344 drivers/pci/host/pci-rcar-gen2.c 55d336b0 Bjorn Helgaas 2016-10-10 338 dev_err(dev, "window must be prefetchable\n"); 8d598cab Phil Edworthy 2015-11-03 339 return -EINVAL; 8d598cab Phil Edworthy 2015-11-03 340 } b0fd5e0b Bjorn Helgaas 2016-10-06 341 if (rcar_pci->window_addr) { b0fd5e0b Bjorn Helgaas 2016-10-06 342 u32 lowaddr = 1 << (ffs(rcar_pci->window_addr) - 1); 8d598cab Phil Edworthy 2015-11-03 343 8d598cab Phil Edworthy 2015-11-03 @344 if (lowaddr < pci->window_size) { 55d336b0 Bjorn Helgaas 2016-10-10 345 dev_err(dev, "invalid window size/addr\n"); 8d598cab Phil Edworthy 2015-11-03 346 return -EINVAL; 8d598cab Phil Edworthy 2015-11-03 347 } :::::: The code at line 344 was first introduced by commit :::::: 8d598cabf50d837e69ebd6fc86aec5550df2b3a2 PCI: rcar: Allow DT to override default window settings :::::: TO: Phil Edworthy <phil.edworthy@xxxxxxxxxxx> :::::: CC: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip