Skip to content

Commit

Permalink
nvmet-rdma: depend on INFINIBAND_ADDR_TRANS
Browse files Browse the repository at this point in the history
[ Upstream commit d6fc6a2 ]

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]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gthelen authored and gregkh committed Jun 20, 2018
1 parent 8e6dba9 commit 4e2b7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/target/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
help
This enables the NVMe RDMA target support, which allows exporting NVMe
Expand Down

0 comments on commit 4e2b7d1

Please sign in to comment.