tree: git://git.armlinux.org.uk/~rmk/linux-arm cex7
head: 5804a6c03966ed6abc3979e10435362a1cd72505
commit: 80fa88ccaefb71c334bd923f23eacdf9714d20c6 [34/60] PCI: mobiveil: ls_pcie_g4: add
Workaround for A-011577
config: x86_64-randconfig-a012-20201019 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
2a75e956e5ce7ea212333a86fe65fc68185cbf48)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add linux-arm git://git.armlinux.org.uk/~rmk/linux-arm
git fetch --no-tags linux-arm cex7
git checkout 80fa88ccaefb71c334bd923f23eacdf9714d20c6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)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