Skip to content

Commit 510325e

Browse files
musamaanjumjgunthorpe
authored andcommitted
selftests/iommu: fix the config fragment
The config fragment doesn't follow the correct format to enable those config options which make the config options getting missed while merging with other configs. ➜ merge_config.sh -m .config tools/testing/selftests/iommu/config Using .config as base Merging tools/testing/selftests/iommu/config ➜ make olddefconfig .config:5295:warning: unexpected data: CONFIG_IOMMUFD .config:5296:warning: unexpected data: CONFIG_IOMMUFD_TEST While at it, add CONFIG_FAULT_INJECTION as well which is needed for CONFIG_IOMMUFD_TEST. If CONFIG_FAULT_INJECTION isn't present in base config (such as x86 defconfig), CONFIG_IOMMUFD_TEST doesn't get enabled. Fixes: 57f0988 ("iommufd: Add a selftest") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 7adc0c1 commit 510325e

File tree

1 file changed

+3
-2
lines changed
  • tools/testing/selftests/iommu

1 file changed

+3
-2
lines changed

tools/testing/selftests/iommu/config

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
CONFIG_IOMMUFD
2-
CONFIG_IOMMUFD_TEST
1+
CONFIG_IOMMUFD=y
2+
CONFIG_FAULT_INJECTION=y
3+
CONFIG_IOMMUFD_TEST=y

0 commit comments

Comments
 (0)