[PATCH] dmaengine: idxd: fix missing symbol for pci_msi_mask_irq()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lkp report compile issue without CONFIG_PCI_MSI_IRQ_DOMAIN being set. Add
dependency to the driver to ensure symbol is valid.

   ld: drivers/dma/idxd/device.o: in function `idxd_mask_msix_vector':
>> drivers/dma/idxd/device.c:24: undefined reference to `pci_msi_mask_irq'
   ld: drivers/dma/idxd/device.o: in function `idxd_unmask_msix_vector':
>> drivers/dma/idxd/device.c:41: undefined reference to `pci_msi_unmask_irq'

Fixes: 3592633e52d2 ("dmaengine: idxd: move idxd interrupt handling to mask instead of ignore")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Dave Jiang <dave.jiang@xxxxxxxxx>
---
 drivers/dma/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index b70e90765ad3..cd89fe38834b 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -286,6 +286,7 @@ config INTEL_IDXD
 	tristate "Intel Data Accelerators support"
 	depends on PCI && X86_64
 	depends on SBITMAP
+	depends on PCI_MSI_IRQ_DOMAIN
 	select DMA_ENGINE
 	help
 	  Enable support for the Intel(R) data accelerators present




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux