* [tip:x86/platform 6/6] arch/x86/pci/mmconfig-shared.c:823:9: error: implicit declaration of function 'pci_mmcfg_read'
@ 2017-06-28 23:51 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-06-28 23:51 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, tipbuild
[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/platform
head: 5d381c2e053918bd67c2d1cc50fc73c35bd547f7
commit: 5d381c2e053918bd67c2d1cc50fc73c35bd547f7 [6/6] x86/PCI/mmcfg: Switch to ECAM config mode if possible
config: x86_64-allyesdebian+CONFIG_DEBUG_INFO_REDUCED (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 5d381c2e053918bd67c2d1cc50fc73c35bd547f7
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
arch/x86/pci/mmconfig-shared.c: In function 'pci_ecam_read':
>> arch/x86/pci/mmconfig-shared.c:823:9: error: implicit declaration of function 'pci_mmcfg_read' [-Werror=implicit-function-declaration]
return pci_mmcfg_read(pci_domain_nr(bus), bus->number, devfn, reg,
^~~~~~~~~~~~~~
arch/x86/pci/mmconfig-shared.c: In function 'pci_ecam_write':
>> arch/x86/pci/mmconfig-shared.c:830:9: error: implicit declaration of function 'pci_mmcfg_write' [-Werror=implicit-function-declaration]
return pci_mmcfg_write(pci_domain_nr(bus), bus->number, devfn, reg,
^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/pci_mmcfg_read +823 arch/x86/pci/mmconfig-shared.c
817 return -ENOENT;
818 }
819
820 static int pci_ecam_read(struct pci_bus *bus, unsigned int devfn, int reg,
821 int size, u32 *value)
822 {
> 823 return pci_mmcfg_read(pci_domain_nr(bus), bus->number, devfn, reg,
824 size, value);
825 }
826
827 static int pci_ecam_write(struct pci_bus *bus, unsigned int devfn, int reg,
828 int size, u32 value)
829 {
> 830 return pci_mmcfg_write(pci_domain_nr(bus), bus->number, devfn, reg,
831 size, value);
832 }
833
---
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: 38881 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-28 23:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28 23:51 [tip:x86/platform 6/6] arch/x86/pci/mmconfig-shared.c:823:9: error: implicit declaration of function 'pci_mmcfg_read' 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
all inboxes | Powered by JetHome®