From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [robh:pci-merge 1/1] drivers/pci/controller/cadence/pci-j721e.c:252:16: error: 'struct cdns_pcie_rc' has no member named 'bus_range'
Date: Sat, 25 Jul 2020 02:33:44 +0800 [thread overview]
Message-ID: <202007250241.YufIGRHP%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2975 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git pci-merge
head: 24e81412161022ce4b503d8be293478291b1cc20
commit: 24e81412161022ce4b503d8be293478291b1cc20 [1/1] Merge remote-tracking branch 'lorenzo/pci/cadence' into pci-merge
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
git checkout 24e81412161022ce4b503d8be293478291b1cc20
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/pci/controller/cadence/pci-j721e.c: In function 'cdns_ti_pcie_config_read':
>> drivers/pci/controller/cadence/pci-j721e.c:252:16: error: 'struct cdns_pcie_rc' has no member named 'bus_range'
252 | if (busn == rc->bus_range->start)
| ^~
drivers/pci/controller/cadence/pci-j721e.c: In function 'cdns_ti_pcie_config_write':
drivers/pci/controller/cadence/pci-j721e.c:266:16: error: 'struct cdns_pcie_rc' has no member named 'bus_range'
266 | if (busn == rc->bus_range->start)
| ^~
vim +252 drivers/pci/controller/cadence/pci-j721e.c
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 244
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 245 static int cdns_ti_pcie_config_read(struct pci_bus *bus, unsigned int devfn,
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 246 int where, int size, u32 *value)
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 247 {
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 248 struct pci_host_bridge *bridge = pci_find_host_bridge(bus);
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 249 struct cdns_pcie_rc *rc = pci_host_bridge_priv(bridge);
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 250 unsigned int busn = bus->number;
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 251
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 @252 if (busn == rc->bus_range->start)
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 253 return pci_generic_config_read32(bus, devfn, where, size,
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 254 value);
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 255
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 256 return pci_generic_config_read(bus, devfn, where, size, value);
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 257 }
8d5ac4a9877bcd Kishon Vijay Abraham I 2020-07-22 258
:::::: The code at line 252 was first introduced by commit
:::::: 8d5ac4a9877bcdc67f7dc7a82ea4463107a1c660 PCI: j721e: Add TI J721E PCIe driver
:::::: TO: Kishon Vijay Abraham I <kishon@ti.com>
:::::: CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 74071 bytes --]
reply other threads:[~2020-07-24 18:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202007250241.YufIGRHP%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.