[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201706290706.3mEXWOcA%fengguang.wu@intel.com>
Date: Thu, 29 Jun 2017 07:51:17 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:x86/platform 6/6] arch/x86/pci/mmconfig-shared.c:823:9: error:
implicit declaration of function 'pci_mmcfg_read'
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
Download attachment ".config.gz" of type "application/gzip" (38881 bytes)
Powered by blists - more mailing lists