linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vfio: fix link failures when CONFIG_PCI_MSI is disabled
@ 2016-02-03 20:51 Luis Henriques
  2016-02-12 18:17 ` Alex Williamson
  2016-02-17 21:05 ` [PATCH] PCI/MSI: stub pci_write_msi_msg " Luis Henriques
  0 siblings, 2 replies; 5+ messages in thread
From: Luis Henriques @ 2016-02-03 20:51 UTC (permalink / raw)
  To: Alex Williamson; +Cc: kvm, linux-kernel

The following link failure occurs when CONFIG_PCI_MSI is not set:

drivers/built-in.o: In function `vfio_msi_set_vector_signal':
:(.text+0x626640): undefined reference to `pci_write_msi_msg'

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
 drivers/vfio/pci/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/pci/Kconfig b/drivers/vfio/pci/Kconfig
index 02912f180c6d..b9dbfc9aeee1 100644
--- a/drivers/vfio/pci/Kconfig
+++ b/drivers/vfio/pci/Kconfig
@@ -1,6 +1,6 @@
 config VFIO_PCI
 	tristate "VFIO support for PCI devices"
-	depends on VFIO && PCI && EVENTFD
+	depends on VFIO && PCI_MSI && EVENTFD
 	select VFIO_VIRQFD
 	select IRQ_BYPASS_MANAGER
 	help

Cheers,
--
Luís

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

end of thread, other threads:[~2016-02-17 21:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03 20:51 [PATCH] vfio: fix link failures when CONFIG_PCI_MSI is disabled Luis Henriques
2016-02-12 18:17 ` Alex Williamson
2016-02-17 15:37   ` Luis Henriques
2016-02-17 21:05 ` [PATCH] PCI/MSI: stub pci_write_msi_msg " Luis Henriques
2016-02-17 21:19   ` Alex Williamson

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