From patchwork Mon Mar 8 15:31:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 395440 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1807696jai; Mon, 8 Mar 2021 07:32:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYUUCS56wTv4LP9lqTrwtrT548DR67FT+DJ1xJGP8aTA4ddeGSLZ0DPAoJUHXr2nN5/ejO X-Received: by 2002:a50:f9c8:: with SMTP id a8mr22655565edq.270.1615217550087; Mon, 08 Mar 2021 07:32:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615217550; cv=none; d=google.com; s=arc-20160816; b=bq9CjAnuzAyP2HfperGRv5KqCzAPpZTvS2LC+affFmJ3gz+qO3jxZW9AeVTvyN6nc5 9xfs6P9QmS4JlN+fBQ52ND16Rn2L8Po9BmRnNfnaUlojRj6fhSvk3YXaSTb6yEbNqBJJ OHG+sb1xE5O8on6BuJyg0si/7Ry2KE844keSlfos3shH1D/YA9DAB6zivDGeT0SjQkAm 5sn8pmsjIob6xwBi6lXnBrAHIernYRxxjSeirVD+26kT597ztvYocqcekzTSqVYFw3C0 AtoFj74HkCbHR/ifysbAjguxi+dkojXiyXdxXaC2lepR8UI0W6VR8eTkuuI7/MQckF8C fmSw== 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=YkmZqdXdjzkDi7egp/lzXSRHnzf3azd+C2YuYu1nimdKanWlyOzG4ijM4NiEjAllYp t1BUDu9KiZ196MOlZ/KggRUql6CaeHmGXFzZXfiWC/rXJFY8vPed09AdvKfhBWwk1yCg 8d3JTACsf+0rRA2TNfpcgripem5FylXuSDYOxolKEideDQ8TR1jQ4iMu+Eea81qmOkkj MxU1qXh8Fur7ETk6jMxCt7opLEOr+8Jfk6R578w/42BIi6on5Fx6AWkMdf4Bq+zWqPa4 /ywYhEDLSwRTICeiXuByLVIa5I7CCZU7r2kLWH1ni2kPCBaedJ9pMDQmHiYK+PPOHGcS 9GCQ== 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 netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 de4si6680610ejc.539.2021.03.08.07.32.29; Mon, 08 Mar 2021 07:32:30 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-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 netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S230142AbhCHPb5 (ORCPT + 9 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 Precedence: bulk List-ID: X-Mailing-List: netdev@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(+) -- 2.29.2 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"