* [PATCH 2/5] nvmet-rdma: depend on INFINIBAND_ADDR_TRANS
@ 2018-04-25 22:33 Greg Thelen
0 siblings, 0 replies; only message in thread
From: Greg Thelen @ 2018-04-25 22:33 UTC (permalink / raw)
To: Christoph Hellwig, Sagi Grimberg, Bart Van Assche,
Jason Gunthorpe
Cc: linux-nvme, linux-kernel, linux-rdma, Greg Thelen, Tarick Bedeir
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>
---
drivers/nvme/target/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.17.0.441.gb46fe60e1d-goog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-25 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-25 22:33 [PATCH 2/5] nvmet-rdma: depend on INFINIBAND_ADDR_TRANS Greg Thelen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox