Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1838367pxb; Mon, 8 Mar 2021 07:33:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPYbqq+GK7q6Q3lwBlH8jSvDIG6FMb/wIdsi9R+KP2XoTPZBm9XeUhK32LgIXpnSaJao4u X-Received: by 2002:a17:906:b884:: with SMTP id hb4mr15417064ejb.536.1615217626787; Mon, 08 Mar 2021 07:33:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615217626; cv=none; d=google.com; s=arc-20160816; b=eLfvxhXHRysqzISi/rn4ho5QzC5VT45go81VSXX4PCFDu73ANgx6sQdeRw0OeVKPd+ nzi/au3E/GATitQ7P7ulm/oejwFp+q0RyKfzWT4tvW4NSI1zgaFIzjyUAEvEAhVDuhYh 2ohWZ//MMrjp1ZAUofO8GznaASC/lrnQwKORMiUs999jJB7GxsUGYzYrJ06SR8NrJTyJ mRHQxOrkvTcgvNGTMMCOYcSh0qSmOBUUlp6+nfAZhZdeKEqXDZT+iOgrcxfsRLiWOWOb iVClv7fMDDcMvEZ68SC5SXYYQzymv13qtHt2VDOmzxFTeBfWqqfSoozNQox1iPh3LBXM dt5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C7nOn7oLPkKq++rYLAogUVsoYns4u79rHP12I63PKTs=; b=z3pMkkiOgDbIEUD4+zoIzQu2G3SObelLNrSlrAr3aPvJVxULzdcvLamFTCWZC6o0F1 sf2Me2FxDSlzwI3NLhIhg6cPIf4RWHLnuu5ON8Ff5bpc21PfgFG8waBr9327qmHjE+mf sQ2cAdCk/uDOuqYtRS1SqGlsIkegikLWbQ1EdPQNGGmej/3ymRNf5aOkGjtoQXCp9+ep aXlIqa3oR2HroRxkZnptOGOXcTwVq4Wb9POLIEud6JoYTIMxo38nPrRJbbZK+EUmpF7H TedUbF6ZCtTMbPrUTUGOVfsrqWSDalWxJ82cr4o6hVN/obcykUJC46tgZyVj/NktvXj4 xKXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m+Ps+9nE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id r21si7053810ejo.142.2021.03.08.07.33.23; Mon, 08 Mar 2021 07:33:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m+Ps+9nE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230078AbhCHPb5 (ORCPT + 99 others); Mon, 8 Mar 2021 10:31:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:60388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230143AbhCHPbs (ORCPT ); Mon, 8 Mar 2021 10:31:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9FC046526A; Mon, 8 Mar 2021 15:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615217507; bh=rBXxC8/mFp2BQnzNE6T+rEcZQc82cTFW4yo+076vbxw=; h=From:To:Cc:Subject:Date:From; b=m+Ps+9nEv9uFc5MDr/0u9dcTL9Q6e2obPLGnjvjx7bsdeKRRVUGLrPWuNXArW+tI0 1Cxap6sOv3dthh4XE0DK/6B/nf4y8phjPltzFCfPnxJ3/GlQQxHxDeUbif9eFkai71 9ibpxkS/oS38pA6HQJFaXQSJpBdXLHMYNk8ZIZ9ovn0Ql43WA05NuIO4nVSd8/LQHq Am58qSsO+89E9KOXcxvLzv1X/K3VFZJHFO25qTsOSuMKD5EXzaGnnpyiIzPz0ArkHk jno3R1CYqWDp//GCKsxORGiGZvwKcX/5vM9FQxrTFMPIx8YUHOkTYHjAuQdi+p/zYQ 5kB0AQBF30ZjA== From: Arnd Bergmann To: Saeed Mahameed , Leon Romanovsky , "David S. Miller" , Jakub Kicinski , Roi Dayan , Dmytro Linkin , Vlad Buslov Cc: Arnd Bergmann , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net/mlx5e: include net/nexthop.h where needed Date: Mon, 8 Mar 2021 16:31:20 +0100 Message-Id: <20210308153143.2392122-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:1510:12: error: implicit declaration of function 'fib_info_nh' [-Werror,-Wimplicit-function-declaration] fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; ^ drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:1510:12: note: did you mean 'fib_info_put'? include/net/ip_fib.h:529:20: note: 'fib_info_put' declared here static inline void fib_info_put(struct fib_info *fi) ^ Fixes: 8914add2c9e5 ("net/mlx5e: Handle FIB events to update tunnel endpoint device") Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c b/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c index 6a116335bb21..32d06fe94acc 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c @@ -2,6 +2,7 @@ /* Copyright (c) 2021 Mellanox Technologies. */ #include +#include #include "tc_tun_encap.h" #include "en_tc.h" #include "tc_tun.h" -- 2.29.2