Add a check for the nfit_test overridden modules for dax_pmem,
dax_pmem_core, and dax_pmem_compat to the test core to ensure that the
regular production versions aren't the ones being used.

Cc: Dan Williams <[email protected]>
Signed-off-by: Vishal Verma <[email protected]>
---
 test/core.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/core.c b/test/core.c
index 4b36b2d..b9e3bbf 100644
--- a/test/core.c
+++ b/test/core.c
@@ -129,6 +129,8 @@ int nfit_test_init(struct kmod_ctx **ctx, struct 
kmod_module **mod,
                "nfit",
                "device_dax",
                "dax_pmem",
+               "dax_pmem_core",
+               "dax_pmem_compat",
                "libnvdimm",
                "nd_blk",
                "nd_btt",
-- 
2.20.1

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to