linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm:clearfog 6/7] drivers/pci/controller/pci-mvebu.c:660:22: error: 'value' undeclared; did you mean 'false'?
@ 2018-12-21  9:23 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-12-21  9:23 UTC (permalink / raw)
  To: Russell King; +Cc: kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 2153 bytes --]

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':
>> 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
>> 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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30338 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-21  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-21  9:23 [arm:clearfog 6/7] drivers/pci/controller/pci-mvebu.c:660:22: error: 'value' undeclared; did you mean 'false'? kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).