Skip to content

Commit 8541323

Browse files
committed
iommufd: Add missing IOMMUFD_DRIVER kconfig for the selftest
Some kconfigs don't automatically include this symbol which results in sub functions for some of the dirty tracking related things that are non-functional. Thus the test suite will fail. select IOMMUFD_DRIVER in the IOMMUFD_TEST kconfig to fix it. Fixes: a9af47e ("iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP") Link: https://lore.kernel.org/r/[email protected] Tested-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent fec50db commit 8541323

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iommu/iommufd/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ config IOMMUFD_TEST
3737
depends on DEBUG_KERNEL
3838
depends on FAULT_INJECTION
3939
depends on RUNTIME_TESTING_MENU
40+
select IOMMUFD_DRIVER
4041
default n
4142
help
4243
This is dangerous, do not enable unless running

0 commit comments

Comments
 (0)