projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4258895
)
tools/testing/nvdimm: add pfn device dependency
author
Dan Williams
<dan.j.williams@intel.com>
Tue, 7 Jun 2016 00:03:17 +0000
(17:03 -0700)
committer
Dan Williams
<dan.j.williams@intel.com>
Fri, 17 Jun 2016 23:23:23 +0000
(16:23 -0700)
Fail building nfit_test.ko when the configuration is missing pfn device
support.
Reported-by: Megha Dey <megha.dey@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/config_check.c
patch
|
blob
|
history
diff --git
a/tools/testing/nvdimm/config_check.c
b/tools/testing/nvdimm/config_check.c
index adf18bfeca0068cedf19f9dd8b823822bbffac6c..878daf3429e8f822593aff99c490550e5d76ef93 100644
(file)
--- a/
tools/testing/nvdimm/config_check.c
+++ b/
tools/testing/nvdimm/config_check.c
@@
-10,6
+10,7
@@
void check(void)
BUILD_BUG_ON(!IS_MODULE(CONFIG_LIBNVDIMM));
BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM));
BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT));
+ BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_PFN));
BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BLK));
BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT));
BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX));