Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ib_srp: depend on INFINIBAND_ADDR_TRANS

INFINIBAND_SRP 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>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>

authored by

Greg Thelen and committed by
Doug Ledford
5a3bc8a4 3c6b03d1

+1 -1
+1 -1
drivers/infiniband/ulp/srp/Kconfig
··· 1 1 config INFINIBAND_SRP 2 2 tristate "InfiniBand SCSI RDMA Protocol" 3 - depends on SCSI 3 + depends on SCSI && INFINIBAND_ADDR_TRANS 4 4 select SCSI_SRP_ATTRS 5 5 ---help--- 6 6 Support for the SCSI RDMA Protocol over InfiniBand. This