summaryrefslogtreecommitdiff
path: root/drivers/nvme/target
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2018-04-26 21:19:31 +0300
committerDoug Ledford <dledford@redhat.com>2018-04-27 18:15:43 +0300
commitd6fc6a22fc7d3df987666725496ed5dd2dd30f23 (patch)
tree5232a95d5aa1138f9cf07cc476eb17d7d846a598 /drivers/nvme/target
parent3af7a156bdc356946098e13180be66b6420619bf (diff)
downloadlinux-d6fc6a22fc7d3df987666725496ed5dd2dd30f23.tar.xz
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>
Diffstat (limited to 'drivers/nvme/target')
-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