From: Greg Thelen Date: Thu, 26 Apr 2018 18:19:32 +0000 (-0700) Subject: ib_srpt: depend on INFINIBAND_ADDR_TRANS X-Git-Tag: Ubuntu-4.15.0-37.40~202 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d60abd197b188cf5870a45e12ba641fe65183ea2;p=mirror_ubuntu-bionic-kernel.git ib_srpt: depend on INFINIBAND_ADDR_TRANS BugLink: http://bugs.launchpad.net/bugs/1794889 [ Upstream commit 346a47b65d10e450778ec0d21e4a9409f25daaa8 ] INFINIBAND_SRPT 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 Cc: Tarick Bedeir Reviewed-by: Bart Van Assche Signed-off-by: Doug Ledford Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman Signed-off-by: Kamal Mostafa Signed-off-by: Stefan Bader --- diff --git a/drivers/infiniband/ulp/srpt/Kconfig b/drivers/infiniband/ulp/srpt/Kconfig index 31ee83d528d9..fb8b7182f05e 100644 --- a/drivers/infiniband/ulp/srpt/Kconfig +++ b/drivers/infiniband/ulp/srpt/Kconfig @@ -1,6 +1,6 @@ config INFINIBAND_SRPT tristate "InfiniBand SCSI RDMA Protocol target support" - depends on INFINIBAND && TARGET_CORE + depends on INFINIBAND && INFINIBAND_ADDR_TRANS && TARGET_CORE ---help--- Support for the SCSI RDMA Protocol (SRP) Target driver. The