diff options
author | Jan Kara <[email protected]> | 2020-01-23 16:47:20 +0100 |
---|---|---|
committer | Dan Williams <[email protected]> | 2020-02-18 11:00:01 -0800 |
commit | c0e71d602053e4e7637e4bc7d0bc9603ea77a33f (patch) | |
tree | 75def58bb3c97066d88499ef2824f00ea71e23a2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b9bd80396a42d0335f6cf287d8b561c50b44a2d8 (diff) |
tools/testing/nvdimm: Fix compilation failure without CONFIG_DEV_DAX_PMEM_COMPAT
When a kernel is configured without CONFIG_DEV_DAX_PMEM_COMPAT, the
compilation of tools/testing/nvdimm fails with:
Building modules, stage 2.
MODPOST 11 modules
ERROR: "dax_pmem_compat_test" [tools/testing/nvdimm/test/nfit_test.ko] undefined!
Fix the problem by calling dax_pmem_compat_test() only if the kernel has
the required functionality.
Signed-off-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions