linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] device-dax: Tell kbuild DEV_DAX_PMEM depends on DEV_DAX
@ 2017-05-06  4:14 Mike Galbraith
  2017-05-08 19:41 ` Dan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Galbraith @ 2017-05-06  4:14 UTC (permalink / raw)
  To: Dan Williams; +Cc: LKML


ERROR: "devm_create_dev_dax" [drivers/dax/dax_pmem.ko] undefined!
ERROR: "alloc_dax_region" [drivers/dax/dax_pmem.ko] undefined!
ERROR: "dax_region_put" [drivers/dax/dax_pmem.ko] undefined!

Signed-off-by: Mike Galbraith <efault@gmx.de>
---
 drivers/dax/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/dax/Kconfig
+++ b/drivers/dax/Kconfig
@@ -19,7 +19,7 @@ config DEV_DAX
 
 config DEV_DAX_PMEM
 	tristate "PMEM DAX: direct access to persistent memory"
-	depends on LIBNVDIMM && NVDIMM_DAX
+	depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX
 	default DEV_DAX
 	help
 	  Support raw access to persistent memory.  Note that this

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] device-dax: Tell kbuild DEV_DAX_PMEM depends on DEV_DAX
  2017-05-06  4:14 [patch] device-dax: Tell kbuild DEV_DAX_PMEM depends on DEV_DAX Mike Galbraith
@ 2017-05-08 19:41 ` Dan Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2017-05-08 19:41 UTC (permalink / raw)
  To: Mike Galbraith; +Cc: LKML

On Fri, May 5, 2017 at 9:14 PM, Mike Galbraith <efault@gmx.de> wrote:
>
> ERROR: "devm_create_dev_dax" [drivers/dax/dax_pmem.ko] undefined!
> ERROR: "alloc_dax_region" [drivers/dax/dax_pmem.ko] undefined!
> ERROR: "dax_region_put" [drivers/dax/dax_pmem.ko] undefined!
>
> Signed-off-by: Mike Galbraith <efault@gmx.de>

Thanks, applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-08 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-06  4:14 [patch] device-dax: Tell kbuild DEV_DAX_PMEM depends on DEV_DAX Mike Galbraith
2017-05-08 19:41 ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).