From patchwork Wed Apr 25 22:33:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10364325 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 93FD5601BE for ; Wed, 25 Apr 2018 22:34:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B3952900B for ; Wed, 25 Apr 2018 22:34:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FC0C29028; Wed, 25 Apr 2018 22:34:01 +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 2303928877 for ; Wed, 25 Apr 2018 22:34:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753671AbeDYWdc (ORCPT ); Wed, 25 Apr 2018 18:33:32 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:37550 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753583AbeDYWdb (ORCPT ); Wed, 25 Apr 2018 18:33:31 -0400 Received: by mail-pg0-f66.google.com with SMTP id a13so9888293pgu.4 for ; Wed, 25 Apr 2018 15:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=PlYf9HHixxbALih1LYXKaRSAzEA3V1gVX2fc53wNbOI=; b=Y2xSwZSM9kNMHnfpYeTl77pkdVPwbXHzjQHhrN5hNqDm0xIuYYClkHIhwEf5xy2x4j c3VjzgjmCpXwYK7zDGMQOMoJmIYToaqY0v5E8DFcXQw5gUrd3Lc/sBG5FyFnzXbtHdr6 uz1vtfVWhFOwzc3GntjaV6440IMzGLjAhGxyPsTYoP+21YIGM+QNTeBSa2HDBag/WlBH TSBTvh+fk+C5L88KMxDCYCOrKqWYJNLPTwZ1gEJ73GV6QGUqsRYEr/QBy4xyd4ryv9aQ q8du2eooxPWnkeFTWslZ0xTBohKlcJhRQ36GLMwWXlkyz/nRFFpByFmE+/V2zL8/bpLl STHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PlYf9HHixxbALih1LYXKaRSAzEA3V1gVX2fc53wNbOI=; b=TCnyN8TygmnrzHTGBquBoNUly93KgOZSvmiGX8TG9kOJH97dOTV6YU8AN+ZIT3IgV2 Qv1j37xOfh0t9bLerTYfdo7NqZsajsBx5GLjyooacR1SReM/k7cc7loN/otMQJOYTeM7 uFg1qcrLL7M+YuGSipDb+HbrFYcc/cWcKKty9+dQN2Qa/AFGMqjvjw8nhTyTsWS23m1t 4/HQ+GIiYggR/6bJt0xg9wTfgd3LwW0xxELbF5IsVH3uJP+oNWPKMI0ihlFS/LxvJNd1 WekIoMMXc0usJhOZJCUqAzpP/KI0t5k+eFq7yqMhFIsb3KEfZf4xVvulyv/MGqSj/zuh 3oJw== X-Gm-Message-State: ALQs6tBmC6mmJyb3LRFgwQMK+7K2LL00Hotw2ZhX6Ofm03/02W+gJn5b QtNSutBCijcxyi5o/o3tZ5PoKg== X-Google-Smtp-Source: AIpwx4/Cedd7vzn35/2TiwR8SKZF26+SyAevz1MGneQI9WrSMPsGfg4dTqgFz+Zv7dQ10ZetCbjepQ== X-Received: by 2002:a17:902:7291:: with SMTP id d17-v6mr31019591pll.218.1524695611209; Wed, 25 Apr 2018 15:33:31 -0700 (PDT) Received: from gthelen.svl.corp.google.com ([2620:15c:2cb:201:7fd0:97b4:747b:9bf1]) by smtp.gmail.com with ESMTPSA id 81sm33866449pfl.92.2018.04.25.15.33.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 15:33:30 -0700 (PDT) From: Greg Thelen To: Christoph Hellwig , Sagi Grimberg , Bart Van Assche , Jason Gunthorpe Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Greg Thelen , Tarick Bedeir Subject: [PATCH 2/5] nvmet-rdma: depend on INFINIBAND_ADDR_TRANS Date: Wed, 25 Apr 2018 15:33:22 -0700 Message-Id: <20180425223322.206799-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.441.gb46fe60e1d-goog 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