From patchwork Thu Apr 26 18:19:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10366663 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 BE70A601BE for ; Thu, 26 Apr 2018 18:23:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF696291D5 for ; Thu, 26 Apr 2018 18:23:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3259291D8; Thu, 26 Apr 2018 18:23:11 +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 22D94291D5 for ; Thu, 26 Apr 2018 18:23:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756976AbeDZSUE (ORCPT ); Thu, 26 Apr 2018 14:20:04 -0400 Received: from mail-yw0-f201.google.com ([209.85.161.201]:51553 "EHLO mail-yw0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756811AbeDZST5 (ORCPT ); Thu, 26 Apr 2018 14:19:57 -0400 Received: by mail-yw0-f201.google.com with SMTP id l128-v6so4416393ywb.18 for ; Thu, 26 Apr 2018 11:19:57 -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=KMHhtxXt22n7tCkn11OcuP/Vzb3XRhbk5ya2KlE2WrY=; b=GwNMtZdMvSe1sTTVcmEOUHWUtlYheSzXzfxkY2n2OY7rX8+f5CDpoNYi8uiaCS5Ldd 9gAFMIiBmpZA/xfgPsw+uBFXMGXEP0q+YBnzQd1GKfMXLh7h6KjYqYCHNnYvRB9nezEd 3qiTf0M1w8LxVRaPA15XQG82iV2RvgJSHh7KvTZ60FfRmZSW9snWnuOkxgdPFwVwlULi U691AM11CU3fjoVIREMOiyNDw4HiRvrxiAk+GwOeFPbOHNYpeWer/hrnNwlAqF2F86Jp c7TDGKgjK+urBdfWIqhbURrBcvxCeTDJlCd+F/M8M9RxmcL81Q7V2a0OGc+Q9xmJ1VtL yuvg== 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=KMHhtxXt22n7tCkn11OcuP/Vzb3XRhbk5ya2KlE2WrY=; b=f6aZzaHi998q31qLPX5Yg+PNBpSnruJi4+0z/PruAhCVFqcqbD2+yp9dkyn85Af3T2 6juDvRFHvGmCh39STPuKl6ArEZZBc68Sj2RQhBMu3QDNsCKHP3qBpAdKuw0LeMbuBRmH net9thlpph9Ar81bk3p1fwKfQYpjpk17lkK1O5iKBMPccDCxw+JqGBsIlgZM/R8GlHuM mWaNEZP2ZWGwOGul1T+298NGtiVIqTK3HObhED3V12oJtg+KI7Dfcy29BOHQo4rFMRC6 NhNb3jxJg8ccP0MVsohJ/lxFzGhOcl80oPxWdk04QQvWEL1X3BBIZpEppv5AvTQu6bty k2sQ== X-Gm-Message-State: ALQs6tC0kBfhs93jCnHZZsl5QQyZUTtygmJT88KDRjdGZ70bCh7MsWVK V89ZUqbqjp2+15Uq6f/eAfWVPgEaZTjN X-Google-Smtp-Source: AIpwx4/oeL45DGJBQWkeSKJsIypg3ZM9EoRgZVvBvR3DNJ+EypAquxxgJ0qS4OVX/XjleG/FsVyfBqQKYvVs MIME-Version: 1.0 X-Received: by 2002:a81:5f07:: with SMTP id t7-v6mr8529893ywb.211.1524766796597; Thu, 26 Apr 2018 11:19:56 -0700 (PDT) Date: Thu, 26 Apr 2018 11:19:30 -0700 In-Reply-To: <20180426181935.32977-1-gthelen@google.com> Message-Id: <20180426181935.32977-2-gthelen@google.com> References: <20180426181935.32977-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.484.g0c8726318c-goog Subject: [PATCH 1/6] nvme: 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_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