Received: by 2002:ac0:adbb:0:0:0:0:0 with SMTP id o56-v6csp78083imb; Fri, 25 May 2018 14:39:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrVn241XI65sLJT7/7SmUqGNDbwjqLrU6svXoj3jRFVlBPqZ/3W2PtAfols9MiOE86Rm8q+ X-Received: by 2002:a65:63cf:: with SMTP id n15-v6mr3198360pgv.371.1527284381826; Fri, 25 May 2018 14:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527284381; cv=none; d=google.com; s=arc-20160816; b=wjcSvbbhM4D2UevIfwOFv7GWWc7LK1C5U/hDkj2er7TE8OpCjsVKdLAnla2gSRk9f1 3BrTP3gBX6EjjunaEqRonMM07CyUubPXxOsiIrLdXuwQEvaPQ6NYa82L1WqR2eDr0U6M cOvJae517KzrlhAHJ1bJ2XIln2unWr4+Ha24YK0rVv6Z7DhkkX+cs/x+GICmGy5PtTdl D8O9vCJKwVUapO47gc9DVGxoAlWLWFv89vXNWTUtOTmnM7Vx/QVuZ9W0jzRbpwM2ONIL tI8wqfktTGdJSLZTB0sfzTkbGrS242PbLN8FbY1/zJi+5vXRPq9pr8Cwpdkxu5L26RAb W7IA== 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=jFF44inQI5cKGFb4J7rXFhCPCnqQOtZUnEweZornA38=; b=VbhOAAfB30l7vkRrCrtiGpWWlPg6Nzdh/AVVCKCsNUhBzE3FA3iW+LQdNd0XWl7lPv f/DaANT/1O8Z67UWeXAJuKsXdqVn6hs3sntO+4S/tExtU4Hon92IvTTvs2gA7GNVZ4LU rAcImgZ+UjBAY85fj1UP38g6++1kCupeaAj7pLnmCuVfVMKEKLnq7viZsXXWNV5jYBY0 nFbX8hjj2fkoST/Uvva4Zo2NVUXHwN8FL0MW+tLOBZQ7+94GCOC68rekk3wn+AYA+CiH Vjhq5XzHxsqUy019KwEqH1COMplCbXKvzIMalItH55Wowneqxjp/2jKxiOgThcuphk5Y FvbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GAIRB2Qp; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t126-v6si24756026pfd.55.2018.05.25.14.39.27; Fri, 25 May 2018 14:39:41 -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=@kernel.org header.s=default header.b=GAIRB2Qp; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030477AbeEYVi7 (ORCPT + 99 others); Fri, 25 May 2018 17:38:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:41350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030216AbeEYVi4 (ORCPT ); Fri, 25 May 2018 17:38:56 -0400 Received: from localhost (unknown [5.29.173.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4794320857; Fri, 25 May 2018 21:38:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527284336; bh=jFF44inQI5cKGFb4J7rXFhCPCnqQOtZUnEweZornA38=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GAIRB2QpDFB+ayXEbMAi/yxBPZOqCpfYoQUhEI0jGs8ccCCLw2qIjzk72DZ6Aeqdx +XaelJ1RbA0lu7xzE29xAiHnjOsrMj6554JbaK50jqV3oBcaOaQUkiGpFxKMx0si5F 9Yz/wTGiiflIPdkXlzLapBXFWRKsdRbeSMIz4WfQ= Date: Sat, 26 May 2018 00:38:53 +0300 From: Leon Romanovsky To: Arnd Bergmann Cc: Doug Ledford , Jason Gunthorpe , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Oleg Drokin , Andreas Dilger , James Simmons , Greg Kroah-Hartman , Steve French , Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , "David S. Miller" , Santosh Shilimkar , Trond Myklebust , Anna Schumaker , "J. Bruce Fields" , Jeff Layton , Greg Thelen , Bart Van Assche , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, rds-devel@oss.oracle.com, linux-nfs@vger.kernel.org Subject: Re: [PATCH] IB: Revert "remove redundant INFINIBAND kconfig dependencies" Message-ID: <20180525213853.GF22686@mtr-leonro.mtl.com> References: <20180525213123.2113748-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bAmEntskrkuBymla" Content-Disposition: inline In-Reply-To: <20180525213123.2113748-1-arnd@arndb.de> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bAmEntskrkuBymla Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 25, 2018 at 11:29:59PM +0200, Arnd Bergmann wrote: > Several subsystems depend on INFINIBAND_ADDR_TRANS, which in turn depends > on INFINIBAND. However, when with CONFIG_INIFIBAND=m, this leads to a > link error when another driver using it is built-in. The > INFINIBAND_ADDR_TRANS dependency is insufficient here as this is > a 'bool' symbol that does not force anything to be a module in turn. > > fs/cifs/smbdirect.o: In function `smbd_disconnect_rdma_work': > smbdirect.c:(.text+0x1e4): undefined reference to `rdma_disconnect' > net/9p/trans_rdma.o: In function `rdma_request': > trans_rdma.c:(.text+0x7bc): undefined reference to `rdma_disconnect' > net/9p/trans_rdma.o: In function `rdma_destroy_trans': > trans_rdma.c:(.text+0x830): undefined reference to `ib_destroy_qp' > trans_rdma.c:(.text+0x858): undefined reference to `ib_dealloc_pd' > > Fixes: 9533b292a7ac ("IB: remove redundant INFINIBAND kconfig dependencies") > Signed-off-by: Arnd Bergmann > --- > The patch that introduced the problem has been queued in the > rdma-fixes/for-rc tree. Please revert the patch before sending > the branch to Linus. > --- It was already sent to Linus. https://marc.info/?l=linux-rdma&m=152719509803047&w=2 Thanks --bAmEntskrkuBymla Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJbCIJtAAoJEORje4g2clinFugQAIYNk8j6aOAN2MHradS5y6Ef GeQY7/H9j2PkMeK+KL4gf6bCHzvcgS/wqdrVMdl/TIc60iyNBL/UJwn5mjsNmRx5 BG2B3VuXP0ZQNPouvyC9oCMq+fNJjeuvzWlHTz3Q8pjwwMuwDdbAaNCMbbEViZS8 AhLcZtDxeTcrFaiSrjkzUfxcb7/rBxOInMlq90Xb4VGDKq6vK1rK18MszFOYI+1C l6KCeRbnDxAHvZFoIMzQOXM35AQoucGqRa8L14/go3eVKrIJPHowEC6/C4k5srsW pzMU1yktzdZKs1E7w8iHLxFQqHp6uiZKOEgBnTNRaSZbTfq5MNTb55uCsjJ3mlrd /YVa2sadrr+Ym4f058AKvt8y3kO71Yu7hTCg6UTPv9EJg94qUQ9apJMNVD9EUVzM 7ZO7tez/WGsyai6PFv+gx1iZiJHpl9TXI5uYxPLsdz0EU5+dsB9pQCsNk8y0tTFZ aQeCLKxC5sqiDllBdECv2KQ2jOvnUy8PTx8VoV8e7kXaUI3YBSjHW+0x7wJgJJrZ 5CEjW3cVCLvW3Iwp0dDnHyqX1Tp7cdEnJx4bzXBArVy+BlpDa0yrMKxNWaZnvRXf OBmwZxMlpRzpDpuA0lzwcTtO8fraJF8GyqrB9bCrVyHqcqziuduHroF6D4pU4s2X mWd8FMSweTSM6kPt2ytV =rjKg -----END PGP SIGNATURE----- --bAmEntskrkuBymla--