Received: by 10.192.165.148 with SMTP id m20csp2460892imm; Thu, 26 Apr 2018 11:21:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Fk3mnDcdxdiEU4oGudr9MFAHqxQN8VWI8xTJQDTi9ANxsFoUGg81iQEtystcQEBHukjmj X-Received: by 10.167.134.70 with SMTP id a6mr33564890pfo.203.1524766917414; Thu, 26 Apr 2018 11:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524766917; cv=none; d=google.com; s=arc-20160816; b=hT0C2mgtLeGSuo9G2Xfy0aJcE6kHf2kgkjSxXaOxNjyM40rR4WmCuc0xerZLCZfMM/ OwPhfTAvgEA4a3Z59wBYYG00mrt8QZA8HiYculsrSyTFCseef4WWpLPFrWjv6CmCpURi 1nq+5PCyhhBn8XK9jXmyaqO/5+GuVesY5ztaFb/DNFq6LsL/kXSizkf3U9GhkFFwIa1t t0rBVYzekvZkUrwlCwgFYkpvA72Yj6pNCulMFSZHel9nsEjgLZhqEIM8YtuRmwMfJ5DJ wcJ1SmYhmjuxm2iXWKh1b9SH2DmcogMBELXGwnXP2iV3uuq4XUabwJpm8RceDxD1TjzK 7WNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references:message-id :in-reply-to:date:mime-version:dkim-signature :arc-authentication-results; bh=hucymHf9AF73VOHOXrGovx/QDAVP84tLr1NOMfMy23I=; b=FnUqgIwbEGRyK4aQ8iQzIgGsDxpif9RjxcWZQ9gdXF+KfNlw4hmyMlr+Ej7JbHpYTr tHj9fv7UO10YkwRwopm7OIOVqJe3Zr9KiK5GccsVjev4QixjUFXtibDZml9VbKK/P8er JJ3FMz6U5/EjcBOkRTItCHbQ5oQS/DXEZ/RNaHB993PLqgQtspnJL7s4NbcZIZjqP6Ez hvYhQIYShh8zeQMnauSfL4ljUeIpp4lGptFeMEwJ81BLdiHWnmtFeAKTmC4UhIXJ5I3H WfNaGNrkwhCJFe2OH0KEHXH0Umkxd6kRCyh0HP4RrBKtq741vFGJIPs/kNolhVhjXey0 8TBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HgZLziqX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o189si1191138pfo.20.2018.04.26.11.21.43; Thu, 26 Apr 2018 11:21:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HgZLziqX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757077AbeDZSUQ (ORCPT + 99 others); Thu, 26 Apr 2018 14:20:16 -0400 Received: from mail-it0-f73.google.com ([209.85.214.73]:36217 "EHLO mail-it0-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757022AbeDZSUG (ORCPT ); Thu, 26 Apr 2018 14:20:06 -0400 Received: by mail-it0-f73.google.com with SMTP id a10-v6so17784625itb.1 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=H0/5pymBeKD1SJ/k5S6o+j+H57+iBNOYArVp0yWz0VmB9JSbztOy+REyL6TzDSLEtO r0RK8JCQgHD7XVNefxPLyEVmOlqcucYo7l4WMMzLyL+fTrpOYQEj1WuI+1mDHkxOVwpg RsPFBlJtAXcV98BW7buQIjGpkEBH0gtqsdCanllEvY5vgxf/guT7phfy4ZOaqkVhidSw JSAnBhLZnJP+C3XGd1oANzym3IU+eEkD14jBf/2dufZAcQAZ9BP7hnl+8L2vzImBF40M 9YwmKhz15/12nip64/Lhje1lLPoMriP8ZUcPOf/qwOsbID9N90B6M5aO6lakD+rlJPdY g3ZQ== X-Gm-Message-State: ALQs6tBe9+RTG/I5AxsxL8aYumefC2+Zu/qVihwDUxL4eNUf3a9NQ791 ZvB9FNCpK9X4rezRYokp6PEOyi0jIqd9 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.0.484.g0c8726318c-goog