Skip to contentSkip to conversation

nvmet-rdma: depend on INFINIBAND_ADDR_TRANS

PATCH In review Greg Thelen 1 participant 1 message Apr 25, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/5 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 at google.com>
Cc Tarick Bedeir <tarick at google.com>
---
 drivers/nvme/target/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/target/Kconfig +1 -1
index 5f4f8b16685f..3c7b61ddb0d1 100644
@@ -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
Signature · 1 line
2.17.0.441.gb46fe60e1d-goog