Skip to contentSkip to conversation

vfio: platform: enable compile test

PATCH In review Andy Shevchenko 2 participants 2 messages Dec 9, 2020 – Dec 15, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vfio: platform: enable compile test

Enable compile test of the VFIO platform code.

---
 drivers/vfio/platform/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/vfio/platform/Kconfig +2 -1
index dc1a3c44f2c6..d19051b68952 100644
@@ -1,7 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VFIO_PLATFORM
 	tristate "VFIO support for platform devices"
-	depends on VFIO && EVENTFD && (ARM || ARM64)
+	depends on (ARM || ARM64) || COMPILE_TEST
+	depends on VFIO && EVENTFD
 	select VFIO_VIRQFD
 	help
 	  Support for platform devices with VFIO. This is required to make
Signature · 1 line
2.29.2
maintainer Acked-by on v1 1/1
#1 lore raw

Hi Andy,

Quoted 13 lines · Andy Shevchenko

Enable compile test of the VFIO platform code.

---
 drivers/vfio/platform/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/vfio/platform/Kconfig +0 -0
index dc1a3c44f2c6..d19051b68952 100644

drivers/vfio/platform/Kconfig line 8

Quoted 9 lines
drivers/vfio/platform/Kconfig +2 -1
@@ -1,7 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VFIO_PLATFORM
 	tristate "VFIO support for platform devices"
-	depends on VFIO && EVENTFD && (ARM || ARM64)
+	depends on (ARM || ARM64) || COMPILE_TEST
+	depends on VFIO && EVENTFD
 	select VFIO_VIRQFD
 	help
 	  Support for platform devices with VFIO. This is required to make

Thanks

Eric