Message ID | 20200408202711.1198966-3-arnd@arndb.de |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp995695ilr; Wed, 8 Apr 2020 13:27:55 -0700 (PDT) X-Google-Smtp-Source: APiQypLL6t7yX9Y69ypSnOCkAGbiambJXXaR6vaZpvxf8yl8Qizspv9G9jNGmdn/y+V//bdtlrZR X-Received: by 2002:aa7:8082:: with SMTP id v2mr9891287pff.18.1586377675020; Wed, 08 Apr 2020 13:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586377675; cv=none; d=google.com; s=arc-20160816; b=wkF3sw7I9G5GK/xZSKxMuolIAdprqfrkNWZ2+ONWm3cSoZHiyncAzVXfVYCYBZgG8q eSLfdahYkLLxStgfH4/rlP0/IYHeRVIEngR3q57561AIDW2jTij3wglDwVhuUXe2DplJ mrRlZYDabNjYflcYY9ZHG/LcOTQ862mCanrvufnwTHxFKe0hfrEaDwek/kFzHqAyc2R8 syvHxzeb0ao7wDKDvwMa1JwFCX/r7Yy5Znu315lwcy66PQ+YXw1dK7Qs+3Mx1+yO9uTA KTp/50Y80X+hsOtXHraksrw7w9/syeYs7hODrenEf08qM3Qv+O/xnzooqHKz+6F2UOfu HZgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=6SVoF3xBc7G/s9MRgnsd2SKTq/fdaytNoWDlrwf3Tm8=; b=IJWfrYvUhNaKwOt2LPN6PfPyejEXpeT0zFtZ8oC3DTeidn9JNxs9eNbm5FVu0gm1qX LdhCNgclNP/Ao4b2/DoaZXWu1Y8aMgrRw45fSQduC16+RcUPqwEZe+aoEXsuFixNkb+A UgNjbNnI0izE3r0jDVV3xfOMncMObxEKaDcDll0BU+NLFuo/AX+XpR4slyQF5OnmF8vV 61a+6B6J8Km3RJOIkm7+zC6JxjR17xtvL0AmiKRPI0LM6QyPK4eFG/3ttNSJliHqrget Xcose6a8vSsqhDJpj9ezC6BAcqRLtPuyR6GVdhhPmhq6bbnBrK7tyYze8GVCJUhsj6Vt GQoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id a6si4139932plp.266.2020.04.08.13.27.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 13:27:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A8456EAF6; Wed, 8 Apr 2020 20:27:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by gabe.freedesktop.org (Postfix) with ESMTPS id 35A046EAF1 for <dri-devel@lists.freedesktop.org>; Wed, 8 Apr 2020 20:27:46 +0000 (UTC) Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1MnaY1-1ivA0D1Xk5-00jcjI; Wed, 08 Apr 2020 22:27:20 +0200 From: Arnd Bergmann <arnd@arndb.de> To: linux-kernel@vger.kernel.org, Masahiro Yamada <masahiroy@kernel.org>, Nicolas Pitre <nico@fluxnic.net> Subject: [RFC 2/6] net/mlx5e: fix VXLAN dependency Date: Wed, 8 Apr 2020 22:27:07 +0200 Message-Id: <20200408202711.1198966-3-arnd@arndb.de> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200408202711.1198966-1-arnd@arndb.de> References: <20200408202711.1198966-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:uksvWMPl7e6M4tD/Jwdoi/VMWCKlsBX2f2Iv1OdecI6D9qke0UX H8JDHSq9tH9gdAImB1WlOCwGw2juxksbW0T1qPC/P8/TcGZb/MCvO8DynkYcvjJ8nPSRDqN MW7IsSzrNXsuHRWtvMtvasLD+JPJGabCH2cqP5roVa2BQ766CRRiBekpQVNwmRgvG8cSVNn FzXdiP8/Lanh60jj+f2Ng== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:+pcOhHlaitk=:zKS80sKudtNtQuZ1iQybEO wR9woHPAZHzLc5HwPQBHERiTXNsHPvLlSFLLPyYLD2rLxRtJ0Mpr/58sYHIITmcsY/Kr9k1Vu cCbVLzrbl1zD3+n4O6enNKSBMWBevs2J2Y9MamrLlYrEiBuZOQGPOJM0XzBzb/PyzBYhhU5+c xIcDV3bkFc+wLZ1vC9/XsK5CBpa5pS64Z6ytzN0yJ3VF5KTFDZsz6466WnD89PacJbtMug/bL 8C8lnesNMro0k1UiKregFx5o6f3U6HY73wqmcGVdS00G2Iknb7Nslx3Bj96wqAWJjejMJR7xI H6HgOx0glLxanJ4WykB8tpm2yWxYqBMIFL8qxiS9hUx50qs7TJChcneGGt+2OZ45AKT3cn5Om UTu8AbTDWLWYnAApETQg38+ImM4r2Hws7U1FkqDsQi5Lz/Hsowg36urTW+kMe1+aJ55GPypXI zpQOgvlpPFO0fBWrauV4iQ8F6SjCNu/Q+zsV8SpAVvp+ESoYLma6GR2oTAJ1eJzV0IjKzU4iD GRDz0VvNwL3JtpjdesDHUS95Hdd4dS1r4bkxKdrS1KKXiLNciMj8OyY6+PEHTK4+d7LDBkJuF 6YgMtsw5FfLzm7UviRd1IkV5Dbd8L2DrU7pgp2uibPI9gJg5A4BTBMAkX3exImlErl+no4RVa t9sWJy2+yCx6SL6BGHCCPQD0fnNfQK2JcqnaEHTVOxZsnSwxdv/pyfgMIADONeZVilF6AEd7W 72LP2HuNDtWiGd56e8YlUH+iqDjcDEUW0ZbmQUJatHpliCkuFgCvZzgnDf/mtvTMKe9CiFIYH AmuXQn2RKNyCix3iwEGv808kO+9zjt/UKc1O4W2x3YXfaKSx8E= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Jernej Skrabec <jernej.skrabec@siol.net>, Leon Romanovsky <leon@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Jonas Karlman <jonas@kwiboo.se>, David Airlie <airlied@linux.ie>, netdev@vger.kernel.org, Neil Armstrong <narmstrong@baylibre.com>, Saeed Mahameed <saeedm@mellanox.com>, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Andrzej Hajda <a.hajda@samsung.com>, Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, "David S. Miller" <davem@davemloft.net>, linux-rdma@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Regressions for "imply" behavior change
|
expand
|
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig index 312e0a1ad43d..849b0be0ca9a 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig +++ b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig @@ -8,7 +8,7 @@ config MLX5_CORE depends on PCI select NET_DEVLINK imply PTP_1588_CLOCK - imply VXLAN + depends on VXLAN || !VXLAN imply MLXFW imply PCI_HYPERV_INTERFACE default n
The 'imply' statement does not prevent MLX5 to be built-in and fail when VXLAN=m: aarch64-linux-ld: drivers/net/ethernet/mellanox/mlx5/core/main.o: in function `mlx5_init_once': main.c:(.text+0x7cc): undefined reference to `mlx5_vxlan_create' main.c:(.text+0x958): undefined reference to `mlx5_vxlan_destroy' Use a normal dependency instead. Fixes: c5791ab0abec ("net/mlx5e: vxlan.c depends on CONFIG_VXLAN") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.26.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel