[arm:clearfog 6/7] drivers/pci/controller/pci-mvebu.c:660:22: error: 'value' undeclared; did you mean 'false'?

From: kbuild test robot <hidden>
Date: 2018-12-21 09:24:30

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git clearfog
head:   9b7d04e8884c164d7baccca969083a4be0c63925
commit: fd7be367cfd410570f77b58db6a2ba7cab5ee0c0 [6/7] mvebu/clearfog pcie updates
config: arm-multi_v5_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.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 fd7be367cfd410570f77b58db6a2ba7cab5ee0c0
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/controller/pci-mvebu.c: In function 'mvebu_pci_bridge_emul_pcie_ext_write':
quoted
drivers/pci/controller/pci-mvebu.c:660:22: error: 'value' undeclared (first use in this function); did you mean 'false'?
      mvebu_writel(port, value, 0x100 + (where & ~3));
                         ^~~~~
                         false
   drivers/pci/controller/pci-mvebu.c:660:22: note: each undeclared identifier is reported only once for each function it appears in
quoted
drivers/pci/controller/pci-mvebu.c:660:38: error: 'where' undeclared (first use in this function)
      mvebu_writel(port, value, 0x100 + (where & ~3));
                                         ^~~~~
   At top level:
   drivers/pci/controller/pci-mvebu.c:1065:13: warning: 'mvebu_pcie_powerdown' defined but not used [-Wunused-function]
    static void mvebu_pcie_powerdown(struct mvebu_pcie_port *port)
                ^~~~~~~~~~~~~~~~~~~~

vim +660 drivers/pci/controller/pci-mvebu.c

   651	
   652	static void
   653	mvebu_pci_bridge_emul_pcie_ext_write(struct pci_bridge_emul *bridge,
   654					     int reg, u32 old, u32 new, u32 mask)
   655	{
   656		struct mvebu_pcie_port *port = bridge->data;
   657	
   658		switch (reg) {
   659		case 0x00 ... 0x28:
 > 660			mvebu_writel(port, value, 0x100 + (where & ~3));
   661			break;
   662		}
   663	}
   664	

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help