diff options
author | Jan Kara <jack@suse.cz> | 2020-01-23 18:47:20 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-02-18 22:00:01 +0300 |
commit | c0e71d602053e4e7637e4bc7d0bc9603ea77a33f (patch) | |
tree | 75def58bb3c97066d88499ef2824f00ea71e23a2 /drivers/nvdimm | |
parent | b9bd80396a42d0335f6cf287d8b561c50b44a2d8 (diff) | |
download | linux-c0e71d602053e4e7637e4bc7d0bc9603ea77a33f.tar.xz |
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 <jack@suse.cz>
Link: https://lore.kernel.org/r/20200123154720.12097-1-jack@suse.cz
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions