From patchwork Thu Apr 26 18:19:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10366635 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 815D1601BE for ; Thu, 26 Apr 2018 18:20:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71D5628CD3 for ; Thu, 26 Apr 2018 18:20:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6415F291BB; Thu, 26 Apr 2018 18:20:26 +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 0F2E628CD3 for ; Thu, 26 Apr 2018 18:20:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757096AbeDZSUV (ORCPT ); Thu, 26 Apr 2018 14:20:21 -0400 Received: from mail-yw0-f202.google.com ([209.85.161.202]:54283 "EHLO mail-yw0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757084AbeDZSUS (ORCPT ); Thu, 26 Apr 2018 14:20:18 -0400 Received: by mail-yw0-f202.google.com with SMTP id k32-v6so13222029ywh.21 for ; Thu, 26 Apr 2018 11:20:17 -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=RTy0ZyV+s3Zn13I1qdSfqok506qaq8UUQnQQkDXt3n4=; b=pCC1HsCYQ6h4SbNqNTVVAZ0ZUjm2NC5FmruGdqkY/Ocr0yRnomsuwZvc1V8hx1ZXgO /hBOvpKp1HP2QVfoUDaPWTLKeiVsSJyLVg3xxKGGCPtfmakHLhjIjiBFeX/UNldB7sG1 t9Vo3g5zh1bceEee5d0yHnJQbkTkH4Vyy/beR6Bj5CTy/4eVKZTnCMSSIVeKJj4FURGX 8vnBDlMOWiTv0fCsu2Y8Dm22NC9tX/Z6NGTVlMPyOtzPtWk5eVSlsSQIGiTlcuwbw+hS LhbdM4fiefPPv5DzWNbymvBmCidL2l/jz6FaXvGLrMp6ygVG0ekRD1yJe4cGT3nPje5s LElA== 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=RTy0ZyV+s3Zn13I1qdSfqok506qaq8UUQnQQkDXt3n4=; b=KEKX5sZXOFcYiaSUwe+sm+oHCw3FIjmkxVL1YXxHJ7e/QOH+n0shybSHcd0BDZxt1c gHgqx0vI7NhYaQaK17QHrSGp84GtrQb46qSrxYgMxr/R40QlKLK5KZr70FyKyFlw7vg/ w9RjrrU3YRPowA9W67OT+A5EHzuabQ0JzhM+FclU9B0bIxH1XeVoWIoUKVQZIj6o/wrs eQpnm78PNUD0xsCb/RUF0U9DAAdNXgmhup+5hQLZmrWklTSpG09kViPoe2y/eCVdGVmI 0VUiERO1DgUYyTxZuHM1B/h6Tk/T32SfUh5FiNcRw3Mab/nNptbf2Z7gGjycKUT5plPh YMvw== X-Gm-Message-State: ALQs6tBVJs+hTYUThjugrtw43NAI4T28LnNKsBxbuaCd8Ka8nL6vPQXP rZIGVKUIFZomsrysrUC1ygC/jTsitin4 X-Google-Smtp-Source: AIpwx4/w6i+Y7WElqYwyxSSEdeKIZKma/L+aLTUPONT1TaOyP/CNQcoP27THW9DzZ6ARbVgvDD9kk1qfmaCp MIME-Version: 1.0 X-Received: by 2002:a5b:2c6:: with SMTP id h6-v6mr11032901ybp.16.1524766817417; Thu, 26 Apr 2018 11:20:17 -0700 (PDT) Date: Thu, 26 Apr 2018 11:19:32 -0700 In-Reply-To: <20180426181935.32977-1-gthelen@google.com> Message-Id: <20180426181935.32977-4-gthelen@google.com> References: <20180426181935.32977-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.484.g0c8726318c-goog Subject: [PATCH 3/6] ib_srpt: 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_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 --- drivers/infiniband/ulp/srpt/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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