linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared
@ 2016-09-14 20:41 kbuild test robot
  2016-09-14 20:47 ` Jon Derrick
  0 siblings, 1 reply; 6+ messages in thread
From: kbuild test robot @ 2016-09-14 20:41 UTC (permalink / raw)
  To: Jon Derrick; +Cc: kbuild-all, linux-pci, Bjorn Helgaas, Keith Busch

[-- Attachment #1: Type: text/plain, Size: 1569 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 26324 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-20 19:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).