[pci:pci/host-cleanups-wip 89/95] drivers/pci/host/pcie-rcar.c:933:3: error: expected ')' before 'rcar_writel'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-cleanups-wip
head:   ee559fc5aa013976c4415dbd9c14107b6eebaa10
commit: df090397882753df9ca097070f1a97988cedc4af [89/95] PCI: rcar: Swap order of rcar_writel() reg/val arguments
config: arm64-defconfig (attached as .config)
compiler: aarch64-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
        git checkout df090397882753df9ca097070f1a97988cedc4af
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/pci/host/pcie-rcar.c: In function 'rcar_pcie_config_access':
   drivers/pci/host/pcie-rcar.c:227:42: error: 'pcie' undeclared (first use in this function)
     rcar_writel(rcar, PCIEERRFR, rcar_readl(pcie, PCIEERRFR));
                                             ^~~~
   drivers/pci/host/pcie-rcar.c:227:42: note: each undeclared identifier is reported only once for each function it appears in
   drivers/pci/host/pcie-rcar.c: In function 'rcar_pcie_inbound_ranges':
>> drivers/pci/host/pcie-rcar.c:933:3: error: expected ')' before 'rcar_writel'
      rcar_writel(rcar, PCIELAR(idx), lower_32_bits(cpu_addr));
      ^~~~~~~~~~~
>> drivers/pci/host/pcie-rcar.c:948:2: error: expected ';' before '}' token
     }
     ^

vim +933 drivers/pci/host/pcie-rcar.c

   927		while (cpu_addr < cpu_end) {
   928			/*
   929			 * Set up 64-bit inbound regions as the range parser doesn't
   930			 * distinguish between 32 and 64-bit types.
   931			 */
   932			rcar_writel(rcar, PCIEPRAR(idx), lower_32_bits(pci_addr)
 > 933			rcar_writel(rcar, PCIELAR(idx), lower_32_bits(cpu_addr));
   934			rcar_writel(rcar, PCIELAMR(idx), lower_32_bits(mask) | flags);
   935	
   936			rcar_writel(rcar, PCIEPRAR(idx + 1), upper_32_bits(pci_addr));
   937			rcar_writel(rcar, PCIELAR(idx + 1), upper_32_bits(cpu_addr));
   938			rcar_writel(pcie, PCIELAMR(idx + 1), 0);
   939	
   940			pci_addr += size;
   941			cpu_addr += size;
   942			idx += 2;
   943	
   944			if (idx > MAX_NR_INBOUND_MAPS) {
   945				dev_err(rcar->dev, "Failed to map inbound regions!\n");
   946				return -EINVAL;
   947			}
 > 948		}
   949		*index = idx;
   950	
   951		return 0;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux