OSDN Git Service

nvme: depend on INFINIBAND_ADDR_TRANS
authorGreg Thelen <gthelen@google.com>
Thu, 26 Apr 2018 18:19:30 +0000 (11:19 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 27 Apr 2018 15:15:43 +0000 (11:15 -0400)
NVME_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/host/Kconfig

index b979cf3..88a8b59 100644 (file)
@@ -27,7 +27,7 @@ config NVME_FABRICS
 
 config NVME_RDMA
        tristate "NVM Express over Fabrics RDMA host driver"
-       depends on INFINIBAND && BLOCK
+       depends on INFINIBAND && INFINIBAND_ADDR_TRANS && BLOCK
        select NVME_CORE
        select NVME_FABRICS
        select SG_POOL