linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Derrick <jonathan.derrick@intel.com>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, linux-pci@vger.kernel.org,
	Bjorn Helgaas <bhelgaas@google.com>,
	Keith Busch <keith.busch@intel.com>
Subject: Re: [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared
Date: Wed, 14 Sep 2016 14:47:02 -0600	[thread overview]
Message-ID: <20160914204701.GA1591@localhost.localdomain> (raw)
In-Reply-To: <201609150417.nlp7t2XD%fengguang.wu@intel.com>

Fortunately these symbols are resolved as of v4.8-rc4


On Thu, Sep 15, 2016 at 04:41:20AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-vmd
> head:   e8debf9c6734726d4fcc5aae5bee48e5e2fcc9c6
> commit: b500e7733fd77bd282caf2f218f2d281c4bdb202 [2/4] x86/PCI: VMD: Convert to use pci_alloc_irq_vectors() API
> config: i386-randconfig-x014-201637 (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         git checkout b500e7733fd77bd282caf2f218f2d281c4bdb202
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    arch/x86/pci/vmd.c: In function 'vmd_probe':
> >> arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared (first use in this function)
>          PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
>          ^~~~~~~~~~~~
>    arch/x86/pci/vmd.c:674:6: note: each undeclared identifier is reported only once for each function it appears in
> >> arch/x86/pci/vmd.c:674:21: error: 'PCI_IRQ_AFFINITY' undeclared (first use in this function)
>          PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
>                         ^~~~~~~~~~~~~~~~
> 
> vim +/PCI_IRQ_MSIX +674 arch/x86/pci/vmd.c
> 
>    668	
>    669		vmd->msix_count = pci_msix_vec_count(dev);
>    670		if (vmd->msix_count < 0)
>    671			return -ENODEV;
>    672	
>    673		vmd->msix_count = pci_alloc_irq_vectors(dev, 1, vmd->msix_count,
>  > 674						PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
>    675		if (vmd->msix_count < 0)
>    676			return vmd->msix_count;
>    677	
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



  reply	other threads:[~2016-09-14 20:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 20:41 [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared kbuild test robot
2016-09-14 20:47 ` Jon Derrick [this message]
2016-09-14 22:30   ` Bjorn Helgaas
2016-09-14 22:50     ` Keith Busch
2016-09-14 22:47       ` Jon Derrick
2016-09-20 19:32       ` Bjorn Helgaas

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=20160914204701.GA1591@localhost.localdomain \
    --to=jonathan.derrick@intel.com \
    --cc=bhelgaas@google.com \
    --cc=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=keith.busch@intel.com \
    --cc=linux-pci@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).