mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, tipbuild@zytor.com
Subject: [tip:x86/platform 6/6] arch/x86/pci/mmconfig-shared.c:823:9: error: implicit declaration of function 'pci_mmcfg_read'
Date: Thu, 29 Jun 2017 07:51:17 +0800	[thread overview]
Message-ID: <201706290706.3mEXWOcA%fengguang.wu@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2017-06-28 23:51 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=201706290706.3mEXWOcA%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tipbuild@zytor.com \
    /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 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®