From patchwork Thu Apr 26 18:19:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10366661 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 E8D5B601BE for ; Thu, 26 Apr 2018 18:23:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA673291D5 for ; Thu, 26 Apr 2018 18:23:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF087291DA; Thu, 26 Apr 2018 18:23:07 +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 C62EA291D5 for ; Thu, 26 Apr 2018 18:23:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757269AbeDZSXE (ORCPT ); Thu, 26 Apr 2018 14:23:04 -0400 Received: from mail-io0-f202.google.com ([209.85.223.202]:56540 "EHLO mail-io0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757027AbeDZSUH (ORCPT ); Thu, 26 Apr 2018 14:20:07 -0400 Received: by mail-io0-f202.google.com with SMTP id a193-v6so18609353ioa.23 for ; Thu, 26 Apr 2018 11:20:06 -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=hucymHf9AF73VOHOXrGovx/QDAVP84tLr1NOMfMy23I=; b=HgZLziqXBvC/R4nGK/uinIWxj/e7QZrtRGlZTGmUrpv9vuNpV7jiqg0enG3RNdYvsL kIY9XUGT9MnIb7Cqi4sacKqaftclJWMH84hGtJGIJWyBAm49jtlYFNd4skem/VriZcsX 5EB+kZbJ7MctJ3P/1JL1MbbZvxwgv6X9NU2VRAs0xodc+b1oUxq+6s5OfgkjYC779iCZ iFPeOAL/jKN/L506LxezErNKxCB9dwe0qnCTqyFKIi4QeFpCSUdq/h/fEynBDKcmYmHZ v/77EUn3OwV/zuV+5kFsFpJnAAa2e+E1lSrTp8QwVLI8lSAhsVK6rZ+/es3L6iCsM6Qs cddg== 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=hucymHf9AF73VOHOXrGovx/QDAVP84tLr1NOMfMy23I=; b=ukMlegr3AcB21FqBLMvEb8hkM5l58gu4lxRLAE2wNzJFLa3rQpuGAlNcpOLAWzLS14 5ex6eKHN6JplTvTBi5Z+Xyc+qX7CbVvLRTjBlJzBawPNH1XuRZGB3XCyUpncLHbXjtbA doW9OvZEy3X1Qw4u7rCj/MMO1cFLqG90/BwmjNHDFTjxLg6/txl832P046zurHfB3fNQ 759uZAufTEXbetEUuO2oMq+PY7DUmGHzNI0ih+Gi/Pg4+D/Ox8uGDi85nGI0hxwokv+m RZUG85k+VE5CA96q1gSoNqgNJlnJQTO4dvLV6HH8oSd+xHvFiY9c1vYGpZzQQ6sUxzCz a0Vg== X-Gm-Message-State: ALQs6tCn4Pd5crQr8/V7qpE8SXfdtjiBbijSnprXMD1teKeQg6G6IpaA QYsPAHtfE/qOV0JJMbBau0tLJe81JUNz X-Google-Smtp-Source: AIpwx4/cDhBdQXpZl16NP6JWeav2A/OWiVS3/iD/BDEj/pRXj91pjNN/fjizNqs55KHr/g4tJpwYUMoq/vpD MIME-Version: 1.0 X-Received: by 2002:a24:4566:: with SMTP id y99-v6mr13950159ita.41.1524766805955; Thu, 26 Apr 2018 11:20:05 -0700 (PDT) Date: Thu, 26 Apr 2018 11:19:31 -0700 In-Reply-To: <20180426181935.32977-1-gthelen@google.com> Message-Id: <20180426181935.32977-3-gthelen@google.com> References: <20180426181935.32977-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.484.g0c8726318c-goog Subject: [PATCH 2/6] nvmet-rdma: 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 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 Cc: Tarick Bedeir --- drivers/nvme/target/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig index 5f4f8b16685f..3c7b61ddb0d1 100644 --- a/drivers/nvme/target/Kconfig +++ b/drivers/nvme/target/Kconfig @@ -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 select SGL_ALLOC help