OSDN Git Service

nvmet-rdma: depend on INFINIBAND_ADDR_TRANS
authorGreg Thelen <gthelen@google.com>
Thu, 26 Apr 2018 18:19:31 +0000 (11:19 -0700)
committerDoug Ledford <dledford@redhat.com>
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 <gthelen@google.com>
Cc: Tarick Bedeir <tarick@google.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/nvme/target/Kconfig

index 5f4f8b1..3c7b61d 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