From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F4233C43333 for ; Thu, 11 Mar 2021 22:49:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BC17564F8C for ; Thu, 11 Mar 2021 22:49:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230445AbhCKWsr (ORCPT ); Thu, 11 Mar 2021 17:48:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:36722 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbhCKWsZ (ORCPT ); Thu, 11 Mar 2021 17:48:25 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 93ECD64F26; Thu, 11 Mar 2021 22:48:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615502905; bh=YQ7sKWMjLFENB0F0uZS21DUq7mds7ydrbZt7pYqXU6Q=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=R6+rjzPpK3p2c+PEffgXrFvPMqJM0N2oq47+/f2jFkibfmBTw9wP6YSjNVu0syjkK FrBuHCnKB42XkQsSo1chdDuqQ7tEGyxwxskUfBo7Igm1LSlMdQ44oT6r5RRrefPAwa lu+/4f7hGS//eDqfTtQFQRwkLiHhMtMYqmLqQfovOTRIlucSh9e58uo+70GI2l2jFC 7QBhIFwEEJj8vobJeWkHvelEMUpR62H6FgNaGyr5J3Z0yRaJrI7GGHK2x+K5gJ/nzC bm5TI0lwflToW1cQf01idxUgH+BEapD+uCsTH2OU+quKfU3FcPZfcVmijEzb/oX5Xb 8szzZyNw7myYQ== Message-ID: Subject: Re: [PATCH] net/mlx5e: include net/nexthop.h where needed From: Saeed Mahameed To: Roi Dayan , Arnd Bergmann , Leon Romanovsky , "David S. Miller" , Jakub Kicinski , Dmytro Linkin , Vlad Buslov Cc: Arnd Bergmann , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 11 Mar 2021 14:48:23 -0800 In-Reply-To: <5fd5e630-0db2-f83b-63c8-265c4ac372e8@nvidia.com> References: <20210308153143.2392122-1-arnd@kernel.org> <5fd5e630-0db2-f83b-63c8-265c4ac372e8@nvidia.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-03-08 at 20:23 +0200, Roi Dayan wrote: > > > On 2021-03-08 5:31 PM, Arnd Bergmann wrote: > > 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" > > > > Hi, > > I see internally we have a pending commit from Vlad fixing this > already, > with few more fixes. "net/mlx5e: Add missing include" > > I'll check why it's being held. Just submitted to net-next. Thanks!