Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1640977

[PATCH linux-next] device-dax: fix BLOCK dependency

From Fabian Frederick <fabf@skynet.be>
Newsgroups linux.kernel
Subject [PATCH linux-next] device-dax: fix BLOCK dependency
Date 2017-05-13 21:10 +0200
Message-ID <tGKAp-7Ln-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


commit ef51042472f5 ("block, dax: move "select DAX" from BLOCK to FS_DAX")
uses get_start_sect() which requires CONFIG_BLOCK

make allnoconfig + dax gives the following:

drivers/dax/super.c: In function 'bdev_dax_pgoff':
drivers/dax/super.c:50:26: error: implicit declaration of function
'get_start_sect' [-Werror=implicit-function-declaration]

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 drivers/dax/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig
index b79aa8f..1806628 100644
--- a/drivers/dax/Kconfig
+++ b/drivers/dax/Kconfig
@@ -1,5 +1,6 @@
 menuconfig DAX
 	tristate "DAX: direct access to differentiated memory"
+	depends on BLOCK
 	select SRCU
 	default m if NVDIMM_DAX
 
-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH linux-next] device-dax: fix BLOCK dependency Fabian Frederick <fabf@skynet.be> - 2017-05-13 21:10 +0200
  Re: [PATCH linux-next] device-dax: fix BLOCK dependency Dan Williams <dan.j.williams@intel.com> - 2017-05-14 01:30 +0200

csiph-web