Linux-bcache Archive on
 help / color / Atom feed
From: Coly Li <>
	Coly Li <>, Randy Dunlap <>
Subject: [PATCH 1/2] bcache: Kconfig dependence fix for NVDIMM support
Date: Tue, 20 Apr 2021 12:44:51 +0800
Message-ID: <> (raw)
In-Reply-To: <>

In drivers/md/bcache/Kconfig, setting BCACHE_NVM_PAGES to "selected"
LIBNVDIMM and DAX is improper. This patch changes to Kconfig dependance
from "selected" to "depends on" for LIBNVDIMM and DAX.

Reported-by: Randy Dunlap <>
Cc: Jens Axboe <>
Signed-off-by: Coly Li <>
 drivers/md/bcache/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/md/bcache/Kconfig b/drivers/md/bcache/Kconfig
index 0996e366ad0b..59999f24d89e 100644
--- a/drivers/md/bcache/Kconfig
+++ b/drivers/md/bcache/Kconfig
@@ -40,7 +40,7 @@ config BCACHE_NVM_PAGES
 	bool "NVDIMM support for bcache (EXPERIMENTAL)"
 	depends on BCACHE
 	depends on PHYS_ADDR_T_64BIT
-	select LIBNVDIMM
-	select DAX
+	depends on LIBNVDIMM
+	depends on DAX
 	nvm pages allocator for bcache.

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-20  4:44 [PATCH 0/2] bcache patches for Linux v5.13 - 3rd wave Coly Li
2021-04-20  4:44 ` Coly Li [this message]
2021-04-20  5:36   ` [PATCH 1/2] bcache: Kconfig dependence fix for NVDIMM support Randy Dunlap
2021-04-20  4:44 ` [PATCH 2/2] bcache: Set error return err to -ENOMEM on allocation failure Coly Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-bcache Archive on

Archives are clonable:
	git clone --mirror linux-bcache/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bcache linux-bcache/ \
	public-inbox-index linux-bcache

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone