[arm:cex7 2/64] drivers/pci/controller/mobiveil/pcie-mobiveil-host.c:85:24: error: no member named 'root_bus_nr' in 'struct mobiveil_root_port'

kernel test robot lkp at intel.com
Mon Nov 9 16:31:54 EST 2020


Hi Hou,

FYI, the error/warning still remains.

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git cex7
head:   712a84e8d5267d59f3d8e64dfeb071a33a479d62
commit: 80fa88ccaefb71c334bd923f23eacdf9714d20c6 [2/64] PCI: mobiveil: ls_pcie_g4: add Workaround for A-011577
config: arm64-randconfig-r013-20201109 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 09ec07827b1128504457a93dee80b2ceee1af600)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
        git fetch --no-tags arm cex7
        git checkout 80fa88ccaefb71c334bd923f23eacdf9714d20c6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> drivers/pci/controller/mobiveil/pcie-mobiveil-host.c:85:24: error: no member named 'root_bus_nr' in 'struct mobiveil_root_port'
           if (bus->number > rp->root_bus_nr && rp->ops->read_other_conf)
                             ~~  ^
   1 error generated.

vim +85 drivers/pci/controller/mobiveil/pcie-mobiveil-host.c

    78	
    79	static int mobiveil_pcie_config_read(struct pci_bus *bus, unsigned int devfn,
    80					     int where, int size, u32 *val)
    81	{
    82		struct mobiveil_pcie *pcie = bus->sysdata;
    83		struct mobiveil_root_port *rp = &pcie->rp;
    84	
  > 85		if (bus->number > rp->root_bus_nr && rp->ops->read_other_conf)
    86			return rp->ops->read_other_conf(bus, devfn, where, size, val);
    87	
    88		return pci_generic_config_read(bus, devfn, where, size, val);
    89	}
    90	static struct pci_ops mobiveil_pcie_ops = {
    91		.map_bus = mobiveil_pcie_map_bus,
    92		.read = mobiveil_pcie_config_read,
    93		.write = pci_generic_config_write,
    94	};
    95	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 33774 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201110/10cfeec8/attachment-0001.gz>


More information about the linux-arm-kernel mailing list