From patchwork Thu Apr 26 18:19:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10366645 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1D9FD601BE for ; Thu, 26 Apr 2018 18:20:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E48C28A6C for ; Thu, 26 Apr 2018 18:20:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02E00291BA; Thu, 26 Apr 2018 18:20:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE7BE28A6C for ; Thu, 26 Apr 2018 18:20:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757181AbeDZSUw (ORCPT ); Thu, 26 Apr 2018 14:20:52 -0400 Received: from mail-ua0-f201.google.com ([209.85.217.201]:45985 "EHLO mail-ua0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757172AbeDZSUs (ORCPT ); Thu, 26 Apr 2018 14:20:48 -0400 Received: by mail-ua0-f201.google.com with SMTP id j5so723818uak.12 for ; Thu, 26 Apr 2018 11:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:date:in-reply-to:message-id:references:subject:from:to :cc; bh=fhL6nbIAkgN5CriZjNf/9yo1fJCPVJtvkRJHmTmzKlU=; b=r4QmXu4FKs4ZVSdaOQsaP52jsWllfjx/9ynFPzTyMhpZyaGHkntP6E4hJShwqtaLRv 6UEbp4rq2cdj/KkZg9aVzQOLFUfmf/NR7BG1k7jhZkCFA6DY4dcuRq1+6aVJUwH0JGig ZJagESJKC7WaSxbzDAYN3ki28+aII4YLrsogXESIK43usre3960T4x05QR47NX57f2d+ tIpSzgk1NKBQMVhTogPhr75+ybMm8divNzzlccqo7z43IbPdXJjjWmWbErmNoMrwbakw oLE7lambfcIzivCIK96a6elb/+ixEQgUibWyzMhb7u4vFbPgtRM7Y0Izi2ksik9bqBhF SWiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id :references:subject:from:to:cc; bh=fhL6nbIAkgN5CriZjNf/9yo1fJCPVJtvkRJHmTmzKlU=; b=gAFhKXIsokU0xmn8HX/fT+owOQ8HFopXkdWQmWSOqpGFL9ZdMUedvV90mGpmSYiVB2 7/mniYvZpdwSOn/PdYUcfqUFH1qgUYe2YU8E8XZlkrPO2iqMrN3pu/icNKfLg00d5Poh L69egmGYV04GIvvOQs7JEisy7Ne3KvZXmVtOodi2oc4GV9LcmseZfKb7dAlKDx+QWfgL AXwLZ8/KDyz0WlQIVnvIoRXNVMivJ6Ov7He5MGB9foArZW8C2g876OYr2NMwMPoavlEH Iqau9jbv4sG6yGlj7WnfeK4YejqUmc4oem5RPRRZhLmiboCZ88VRM000rqroLMUopQQ9 wjTQ== X-Gm-Message-State: ALQs6tCChq4u7dtb13NMXCkRNukLlYclEZ6rFeR1qnVc+FBozTcIRoDe crT9f1MI9mTA9gOKVB7tq8bxulH41kL3 X-Google-Smtp-Source: AB8JxZoMnW6pvyajpkxI4q2RwYv4TJ+U0/bw8UoljmgezyPihDw+orM8h5jZViv2naAXaO9ypPXdUjM2qaeW MIME-Version: 1.0 X-Received: by 10.159.60.154 with SMTP id s26mr9762294uai.74.1524766848032; Thu, 26 Apr 2018 11:20:48 -0700 (PDT) Date: Thu, 26 Apr 2018 11:19:34 -0700 In-Reply-To: <20180426181935.32977-1-gthelen@google.com> Message-Id: <20180426181935.32977-6-gthelen@google.com> References: <20180426181935.32977-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.484.g0c8726318c-goog Subject: [PATCH 5/6] ib_srp: depend on INFINIBAND_ADDR_TRANS From: Greg Thelen To: Bart.VanAssche@wdc.com, hch@lst.de, dledford@redhat.com, jgg@ziepe.ca, axboe@fb.com, keith.busch@intel.com, sagi@grimberg.me, sfrench@samba.org, linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, gthelen@google.com, tarick@google.com Cc: linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Thelen , Tarick Bedeir Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: Tarick Bedeir Reviewed-by: Bart Van Assche --- drivers/infiniband/ulp/srp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/srp/Kconfig b/drivers/infiniband/ulp/srp/Kconfig index c74ee9633041..99db8fe5173a 100644 --- a/drivers/infiniband/ulp/srp/Kconfig +++ b/drivers/infiniband/ulp/srp/Kconfig @@ -1,6 +1,6 @@ config INFINIBAND_SRP tristate "InfiniBand SCSI RDMA Protocol" - depends on SCSI + depends on SCSI && INFINIBAND_ADDR_TRANS select SCSI_SRP_ATTRS ---help--- Support for the SCSI RDMA Protocol over InfiniBand. This