Received: by 10.192.165.148 with SMTP id m20csp1261887imm; Wed, 25 Apr 2018 15:36:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/cEM5m6eoE1E0NsoYrSz613UsCExELcMCjVqvdYMG1dDSqvzlZCIKbAgue5ETB/lasFnwO X-Received: by 10.99.119.195 with SMTP id s186mr24228942pgc.296.1524695761870; Wed, 25 Apr 2018 15:36:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524695761; cv=none; d=google.com; s=arc-20160816; b=soZp1GkmrAwCYXw051VLoZYpptGe1VsU1agGP1ZttMaVGVYXfqVclq63fl6ONYHkhM kKw4M1bC6YS/mx6pZAuDFoUzYQO1KTzZgf6EYBkWoC/WjQlNRspdVWu66oc6LcBLk2cH yqkpDj5ojQECVHhItWFbtzDiV6cwraxEhGW2fNg6/ZlxbsbcwOy6M4YsMciknmqCHnMB 5cUz/OpiRd6e7bBbxS8W6Mib3k/6UIpJk78KKeSBq/n2VbMYRuJxn6PIdBCXizS3DBrJ Q3+QMEQ++XFUyT2IVSQmsvrXYRZZGo3n/cHguQew/CQPyQsRCpY8nP9Ns5Li4BGdkuhp TlVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=J6ziuxQOLK8WDPixqs3OFV95kpqRUiBQW4V52KxsmYY=; b=P7V7LqRdmYGI22wz2XoCCsBidKjaBkIW1sQGiBGh5PZg9l42E1WjVSk5Ou/xYphxqR 2K/m5EhxCYm06tWqhrAW3xisDP1iJREE/R+3gS0eGQ2PBLoapGFfgm5FE5MDglmve8V1 OZ+dVK95sFcFwqMuD+KKVlI/2luaq6dcewEzpta/PhHuxhHgYXvu73LeSwjihBQncM+J hokAthYh2Fu7ifUbC6tOiUGVQX85AHGZFAjScGisQMgYXJp6FxfuoekpdKaOdagm/gpT varg4EL6J0wCqCuXwPJ4Cq0p0AVsFsxV78kEbwhwsbZdIqAF6reP4/fgobvz5SNCx+fa HlaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=K/UQ6c2O; 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 x137si3212560pfd.313.2018.04.25.15.35.47; Wed, 25 Apr 2018 15:36:01 -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=K/UQ6c2O; 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 S1753869AbeDYWe1 (ORCPT + 99 others); Wed, 25 Apr 2018 18:34:27 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:38645 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753818AbeDYWeW (ORCPT ); Wed, 25 Apr 2018 18:34:22 -0400 Received: by mail-pf0-f195.google.com with SMTP id o76so11732612pfi.5 for ; Wed, 25 Apr 2018 15:34:22 -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=J6ziuxQOLK8WDPixqs3OFV95kpqRUiBQW4V52KxsmYY=; b=K/UQ6c2ODt9Ur4yveEulPOlhphhpiOGUfIPMr75KSnaX1X3PHmXvo0eaXrPkqd+z6z FVYoYiydDVNFcwv8t/xeviPfc33ZOVyJcjTr65Ql9hIqDLwrQSaeWZLrkYdhU2WKI1I9 K6JjZCcEBGqwR+VkGUr2kkfiIn2K4qSPoD0bGMQEpYlufHdrmKWYxwUrIXrI/y7mPo48 N9LQ8sPMPDB/KaideXt0aTmF/yz6mhdRxVe4PLcz0LCw1BqgM2CvbqmqwL3qynnGpWYp pFz4e0Ha8fAWtGOIgGYVUYtOEBKsFq9Dnm4T11IYCo94qTTSzf1fSgqMO79F7wGANChM VwzA== 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=J6ziuxQOLK8WDPixqs3OFV95kpqRUiBQW4V52KxsmYY=; b=Zso0kfkNHiXFKcUicGDGrEMYYR2WBmDol6yXhcWht44QFnc1/WGeD4kAy//lpeQ3NT U4szHlLAQNbc7I8TxlPTLfeEKPLioXpANqvD/KmNDMyBGaSu7cO7OcEn82yjjdZzk0HJ LeJAlYVyf3ARsgAtExUbPYG8HxYi4oFdyuXg5mSjuvzGDcQPs7Htp3lRmGV6jxBBOP6y Vv0YW4J2P8Ose+WSzyZrwfrUZVrLH7do9PuQxRL/NvJsslDFp91iSulnKPdGTHWLEQqh jK/GVMKdCyok2atKCYGW4351bh+1bDL8EQsu6F3AA2SMAxp5RNIJcLkWzCafALuBbOED 5UKA== X-Gm-Message-State: ALQs6tDJl7chRl+CvdLWxURbsuWeenIAb5T/aW+wJfOthMlUjBkFhyqg z6aytM+OUgD7d96GDTkLHO+IiA== X-Received: by 10.101.87.201 with SMTP id q9mr25643472pgr.215.1524695661635; Wed, 25 Apr 2018 15:34:21 -0700 (PDT) Received: from gthelen.svl.corp.google.com ([2620:15c:2cb:201:7fd0:97b4:747b:9bf1]) by smtp.gmail.com with ESMTPSA id v8sm16985012pfn.136.2018.04.25.15.34.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 15:34:20 -0700 (PDT) From: Greg Thelen To: Steve French , Bart Van Assche , Jason Gunthorpe Cc: Christoph Hellwig , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Greg Thelen , Tarick Bedeir Subject: [PATCH 4/5] cifs: smbd: depend on INFINIBAND_ADDR_TRANS Date: Wed, 25 Apr 2018 15:34:12 -0700 Message-Id: <20180425223412.207127-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.441.gb46fe60e1d-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CIFS_SMB_DIRECT 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 --- fs/cifs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index 741749a98614..5f132d59dfc2 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig @@ -197,7 +197,7 @@ config CIFS_SMB311 config CIFS_SMB_DIRECT bool "SMB Direct support (Experimental)" - depends on CIFS=m && INFINIBAND || CIFS=y && INFINIBAND=y + depends on CIFS=m && INFINIBAND && INFINIBAND_ADDR_TRANS || CIFS=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y help Enables SMB Direct experimental support for SMB 3.0, 3.02 and 3.1.1. SMB Direct allows transferring SMB packets over RDMA. If unsure, -- 2.17.0.441.gb46fe60e1d-goog