nvmet-rdma: depend on INFINIBAND_ADDR_TRANS
authorGreg Thelen <[email protected]>
Thu, 26 Apr 2018 18:19:31 +0000 (11:19 -0700)
committerDoug Ledford <[email protected]>
Fri, 27 Apr 2018 15:15:43 +0000 (11:15 -0400)
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 <[email protected]>
Cc: Tarick Bedeir <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/nvme/target/Kconfig

index 5f4f8b16685f4ff9225b5f040e67c1a48dd94c14..3c7b61ddb0d186a017196d56378184a9988d525a 100644 (file)
@@ -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