[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180425223322.206799-1-gthelen@google.com>
Date: Wed, 25 Apr 2018 15:33:22 -0700
From: Greg Thelen <gthelen@...gle.com>
To: Christoph Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>,
Bart Van Assche <Bart.VanAssche@....com>,
Jason Gunthorpe <jgg@...pe.ca>
Cc: linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-rdma@...r.kernel.org, Greg Thelen <gthelen@...gle.com>,
Tarick Bedeir <tarick@...gle.com>
Subject: [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@...gle.com>
Cc: Tarick Bedeir <tarick@...gle.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
Powered by blists - more mailing lists