From patchwork Wed Apr 25 22:32:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10364321 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 D6D8E601BE for ; Wed, 25 Apr 2018 22:33:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB0A328877 for ; Wed, 25 Apr 2018 22:33:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF1F428D95; Wed, 25 Apr 2018 22:33:14 +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 9B22028877 for ; Wed, 25 Apr 2018 22:33:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751750AbeDYWdL (ORCPT ); Wed, 25 Apr 2018 18:33:11 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:38487 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751466AbeDYWdK (ORCPT ); Wed, 25 Apr 2018 18:33:10 -0400 Received: by mail-pf0-f194.google.com with SMTP id o76so11730266pfi.5 for ; Wed, 25 Apr 2018 15:33:09 -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=EHYzeHO7tPyFIIigsT2esFU6BOjlh7vQiwMIKGPF1UY=; b=cAcHCojhAYhdjm2/cRLrU8SjW/+/tyvkiNKryuar52EffOsBKiQ8ZhP8GrFDfvijab cZJeEvw4XJfTuTc5L7Rqwv6rVe5O1C1vXNoJYEOAyJh3BhwkYafQ83kzdRiGebtlpjt8 VFOYCp2ZaVJiTzQcJc19dcVLDb8Bl9Oq/zBOAck2BUhmpRuBHG3kH7uwXZ5NTPsP5rBW reeU5z39joWMtwyJxL+ZbH4fNiSV64XgAw15VTJnrM2Yc+0WxNx39jpjfi7n4JPPBFSl wpGjM8a22L0/h7uNCXlqvmvb+sQGk/4oevCNhRlPBysdkaKvfvI1vAciKha3jVblj3L7 wOAg== 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=EHYzeHO7tPyFIIigsT2esFU6BOjlh7vQiwMIKGPF1UY=; b=bIqet9vCC0tvmwqo7TWMBy3/iPA9Vv7rkGHQuSf/uakdh6XnQwE4v6Tmq+gYjs9OfO W1DWHK+K7AQf1XpIZelrNEmc6MNSfChaWWzm4nTCgahRtshS5tGu7znnvZEC2dv/qWwd AUkVgeG6xJguB5dcsfFtHG5iOTwo5piu59eqm4dVbv2QaHUSNEk3WpZgWSb38Iw8nLOJ hEaiyYqzDzDMQ5ypoAJyc8F+cecTrYQCSqrYmEvjRpgnTWqcHhs+nRs/UzQmJaFYBTaZ vX12ukcmgTOBjZVEpBSl1GpeybrdKhLz28LN+AzyzFXTm4d+vD1/O0XWJmgchfLDD3a9 Njbg== X-Gm-Message-State: ALQs6tDZUQdu+tsVJLfHNlqLwAFTj1ZXVxixVuadAyjJhyNUWzRzecSz NzonsYD1yApUkkgwW1eBobEbDQ== X-Google-Smtp-Source: AIpwx48FLsangVX+LBdKhqrhSxRlpeJbm54b4nTqxF4S8z9YQGuBiBQb3UZCE6JSdYT02wmcYnyxww== X-Received: by 2002:a17:902:70c4:: with SMTP id l4-v6mr30616650plt.382.1524695589120; Wed, 25 Apr 2018 15:33:09 -0700 (PDT) Received: from gthelen.svl.corp.google.com ([2620:15c:2cb:201:7fd0:97b4:747b:9bf1]) by smtp.gmail.com with ESMTPSA id l129sm29211178pgl.89.2018.04.25.15.33.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 15:33:07 -0700 (PDT) From: Greg Thelen To: Keith Busch , Jens Axboe , Bart Van Assche , Jason Gunthorpe Cc: Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Greg Thelen , Tarick Bedeir Subject: [PATCH 1/5] nvme: depend on INFINIBAND_ADDR_TRANS Date: Wed, 25 Apr 2018 15:32:41 -0700 Message-Id: <20180425223241.206434-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_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/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig index b979cf3bce65..88a8b5916624 100644 --- a/drivers/nvme/host/Kconfig +++ b/drivers/nvme/host/Kconfig @@ -27,7 +27,7 @@ config NVME_FABRICS config NVME_RDMA tristate "NVM Express over Fabrics RDMA host driver" - depends on INFINIBAND && BLOCK + depends on INFINIBAND && INFINIBAND_ADDR_TRANS && BLOCK select NVME_CORE select NVME_FABRICS select SG_POOL