aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2018-04-26 11:19:31 -0700
committerDoug Ledford <dledford@redhat.com>2018-04-27 11:15:43 -0400
commitd6fc6a22fc7d3df987666725496ed5dd2dd30f23 (patch)
tree5232a95d5aa1138f9cf07cc476eb17d7d846a598
parentnvme: depend on INFINIBAND_ADDR_TRANS (diff)
downloadlinux-dev-d6fc6a22fc7d3df987666725496ed5dd2dd30f23.tar.xz
linux-dev-d6fc6a22fc7d3df987666725496ed5dd2dd30f23.zip
nvmet-rdma: depend on INFINIBAND_ADDR_TRANS
NVME_TARGET_RDMA code depends on INFINIBAND_ADDR_TRANS provided symbols. So declare the kconfig dependency. This is necessary to allow for enabling INFINIBAND without INFINIBAND_ADDR_TRANS. Signed-off-by: Greg Thelen <gthelen@google.com> Cc: Tarick Bedeir <tarick@google.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r--drivers/nvme/target/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig
index 5f4f8b16685f..3c7b61ddb0d1 100644
--- a/drivers/nvme/target/Kconfig
+++ b/drivers/nvme/target/Kconfig
@@ -27,7 +27,7 @@ config NVME_TARGET_LOOP
config NVME_TARGET_RDMA
tristate "NVMe over Fabrics RDMA target support"
- depends on INFINIBAND
+ depends on INFINIBAND && INFINIBAND_ADDR_TRANS
depends on NVME_TARGET
select SGL_ALLOC
help