[PATCH v3] PCI: use IDA to manage domain number if not getting it from DT
kbuild test robot
lkp at intel.com
Tue May 23 21:32:36 PDT 2017
Hi Shawn,
[auto build test ERROR on pci/next]
[also build test ERROR on v4.12-rc2 next-20170523]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Shawn-Lin/PCI-use-IDA-to-manage-domain-number-if-not-getting-it-from-DT/20170524-095618
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/pci/pci.c: In function 'pci_put_old_domain_nr':
>> drivers/pci/pci.c:5357:38: error: 'struct pci_bus' has no member named 'domain_nr'
ida_simple_remove(&__domain_nr, bus->domain_nr);
^~
vim +5357 drivers/pci/pci.c
5351 return ida_simple_get(&__domain_nr, 0, sizeof(u64), GFP_KERNEL);
5352 }
5353
5354 void pci_put_old_domain_nr(struct pci_bus *bus)
5355 {
5356 if (ida_domain)
> 5357 ida_simple_remove(&__domain_nr, bus->domain_nr);
5358 }
5359
5360 #ifdef CONFIG_PCI_DOMAINS_GENERIC
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 25349 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20170524/6d57cbb3/attachment-0001.gz>
More information about the Linux-rockchip
mailing list