Received: by 10.192.165.148 with SMTP id m20csp5368311imm; Tue, 1 May 2018 13:48:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZogoDT1+QWiSCDiDIW433q6zN/Uyvx7h+8Tg7ZYGuBmz0huRCRGQOOQlHjBy1EjzKN9NU06 X-Received: by 2002:a17:902:5329:: with SMTP id b38-v6mr17985821pli.326.1525207722484; Tue, 01 May 2018 13:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525207722; cv=none; d=google.com; s=arc-20160816; b=bg17MKcrIjA8NbAdFGMmADC9+q6IIDZDa3scVBucOei5K9rnsxfBT6533Gt4byiMWf EN6n99lvFzbxRfF1GINKD/cIW018yASl6/IJ09t8cyTS30s3DGECawVggsZfbFkMRfJ4 4ig6WLEWjq6HInN2fENl1f69u+SKdAXZYljcSo4ebT+5LgDMUIvf/MSB2rCj4uvQMKko h5CjWYI7Xypxxi0fDc0gfwBDZ2a9hvCLx5UkGA3A2M6Yj1zPWx/Pqt2ld23Q+Ktvkc6f akRls5poAndyiQdJCj6/Q5HDBi9OOy04AwyNhK9IQcR3riMK+PULAgXrsS51xgLJydca GV/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=f4AhLu1QR92YjYylwl80yK95ItGklSlaCb3tWH5uJNg=; b=acqzW0N4Imi0wU7ZGlCaX4A77Gro8xJvHdnwYKHP/TjAOGQ8UDd37N289lY/A9jHQK YOLbDJmogdfSvUhbZy7sGJNSGvr1mVmafVgAyAFBt47sZTtbGyfp6UPLEAedJy7hz0Yx JtiNPm55DaWiG4P4SRlCLwKz0cUrtth1EqdFF4ddl8/CBfFzqksVsfDWKAPgJ+hImaFI ew4JOi5jOrLHHwUs4RKMx/7KWKp3OWLInTp4skmiorq8avTfQ2ryI+vqu/32xUG4yMk7 43ci7hsZ/Z5iYDDJn8uitAuS8ZORLLGTovEhK6HlvsWavbNf3asZNuyZK6D8+MP44YlV saTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=A+5F9tvy; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t132-v6si8324928pgb.142.2018.05.01.13.48.28; Tue, 01 May 2018 13:48:42 -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=@ziepe.ca header.s=google header.b=A+5F9tvy; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751317AbeEAUsN (ORCPT + 99 others); Tue, 1 May 2018 16:48:13 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35476 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbeEAUsJ (ORCPT ); Tue, 1 May 2018 16:48:09 -0400 Received: by mail-wm0-f67.google.com with SMTP id o78so20845169wmg.0 for ; Tue, 01 May 2018 13:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=f4AhLu1QR92YjYylwl80yK95ItGklSlaCb3tWH5uJNg=; b=A+5F9tvy/O03gHdi3suhABICOswfqkiXfH86NJ6EQTIUierqxWufrFXn/SNdUPuB7w yIV8l57ZucaR4R0blcqVWGE+QuiC85oSmgzY57TYMX7NQ5St95F86p0j8IISWEErf0/L 9iI35hDhPLl24I6nsr6fDtkKqep73/w1hZTRr8EjycplWYt5xyHqwnJ6nsHbb1sNWhdm ntTajYW3I6mzG4E4YD39clXrw9ePq3T43VD4y8FYs4KtM0stGA1eK3/YPdXN0ZBhe3eI XJzT/Ziy43iX1c9kcrET/I7luFQEuh2g0U2hUqRU5/eOXHKFZfX3CLoDxyk7yQ1UGuob EZfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=f4AhLu1QR92YjYylwl80yK95ItGklSlaCb3tWH5uJNg=; b=H5hhqP4mhsJiNWnvf9BbNv6xevgqKB9gzAyWMg6/Qkf8BSdJyDjNpE7yQAxdA9p0MB M1yiIF6hevv4905TqzQN1yEr8Sp1luCZ3ZJ/9FnbAwz3psYxxra5Ud2VGU7aN+/NJ2Cj n1zJv13pVeZ+i/GPBhq7XCzhBP61BDxgyeaTF/oi9wydznD9FyiPNwPbaqiPW6qLfhu7 iEWqAhEHZelDms2jNlxPrrICkKGPtAq18x0F3s11VajooWVwCgHcmr54eMW7LcdscbU4 uS6UN98A92kB6oEr1roh2ox2wrsizrDMmXqaKu6O3ZsYvBB9v1WHL/HwpHNqV3bh9g52 Yzog== X-Gm-Message-State: ALQs6tCzdYqL07ON8AKinuU1oSviho1BVDd4kN7bpiy0/JBQ3Cwt2sjb AK6TMc1LwoX3SpiVG9jAGpgEfA== X-Received: by 10.28.183.138 with SMTP id h132mr9758220wmf.21.1525207687965; Tue, 01 May 2018 13:48:07 -0700 (PDT) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [174.3.196.123]) by smtp.gmail.com with ESMTPSA id h12sm11939567wmc.7.2018.05.01.13.48.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 May 2018 13:48:07 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1fDcBv-0004ST-NS; Tue, 01 May 2018 14:48:03 -0600 Date: Tue, 1 May 2018 14:48:03 -0600 From: Jason Gunthorpe To: Greg Thelen Cc: Doug Ledford , Bart Van Assche , Christoph Hellwig , linux-rdma@vger.kernel.org, LKML , Tarick Bedeir Subject: Re: [PATCH 3/5] ib_srpt: depend on INFINIBAND_ADDR_TRANS Message-ID: <20180501204803.GE28551@ziepe.ca> References: <20180425223340.206907-1-gthelen@google.com> <20180430233500.GI26909@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 01, 2018 at 03:08:57AM +0000, Greg Thelen wrote: > On Mon, Apr 30, 2018 at 4:35 PM Jason Gunthorpe wrote: > > > On Wed, Apr 25, 2018 at 03:33:39PM -0700, Greg Thelen wrote: > > > INFINIBAND_SRPT 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/infiniband/ulp/srpt/Kconfig | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/infiniband/ulp/srpt/Kconfig > b/drivers/infiniband/ulp/srpt/Kconfig > > > index 31ee83d528d9..fb8b7182f05e 100644 > > > +++ b/drivers/infiniband/ulp/srpt/Kconfig > > > @@ -1,6 +1,6 @@ > > > config INFINIBAND_SRPT > > > tristate "InfiniBand SCSI RDMA Protocol target support" > > > - depends on INFINIBAND && TARGET_CORE > > > + depends on INFINIBAND && INFINIBAND_ADDR_TRANS && TARGET_CORE > > > Isn't INFINIBAND && INFINIBAND_ADDR_TRANS a bit redundant? Can't have > > INFINIBAND_ADDR_TRANS without INFINIBAND. > > By kconfig INFINIBAND_ADDR_TRANS depends on INFINIBAND. So yes, it seems > redundant. I don't know if anyone has designs to break this dependency and > allow for ADDR_TRANS without INFINIBAND. Assuming not, I'd be willing to > amend my series removing redundant INFINIBAND and a followup series to > remove it from similar depends. Though I'm not familiar with rdma dev tree > lifecycle. Is rdma/for-rc a throw away branch (akin to linux-next), or > will it be merged into linus/master? If throwaway, then we can amend > its patches, otherwise followups will be needed. > > Let me know what you'd prefer. Thanks. I think a single update patch to fix all of these, and the pre-existing ones would be great Jason