From patchwork Thu Dec 30 01:27:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 12701194 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4B4CC433F5 for ; Thu, 30 Dec 2021 01:29:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SpFO182vH/4DFhTTNaGZGb6KSYlFqssKvGC6/xZMIig=; b=YURwgVvf8+shD2 zgXKjLlRxtdldDWWobb0Qh8zNL/5HLyiQNDOQGRYdGW3Kyetr2t4sAHFl4BY9YThGCZEGGlkmd2Gs VbuDFc0OBXFQA1fc1RpT6Bvu641+ES9R9W8X29ayadDVnboVBVtN9MAXZLO0X671PiBAdPuh4wjnR LapP15MsNgA3xvFJVhNUv7wEQP1blYYuVwF6c8zej+GRr4FKCTnEVT+9zJnj46AvtFYZbrC7derTK sL+Mx/RNpCRFOp0KevEJXrnVpsWpNfztF3jG6b894Ja73zKgl01MHDBnoG4rymBv432Hk9U8fUSLH 7jtoJjHm0/QUHyFs6T2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2kET-003XOS-0b; Thu, 30 Dec 2021 01:27:53 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2kEO-003XN0-UG for linux-arm-kernel@lists.infradead.org; Thu, 30 Dec 2021 01:27:50 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 60EDB615BC; Thu, 30 Dec 2021 01:27:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABA02C36AEE; Thu, 30 Dec 2021 01:27:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640827667; bh=VyHQY8J49gY+iAihRqxjOKsUj4wupvO0oUTJjIn1KrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PCRujHrlvJ++eMV+8eOATEJODo3khk0hQq/qcOGZJbOYVzdGaJEIdQpe3ygUNnexv h2B2UhmvvwrWYfXay/0DFsT+93ABO9urf7cswier/8esz/sWGUfqzUcXlAOR+gKynv 1a/grh6c0mmNY7d0MGHXlo8O9AskGejfATQlOS0UmQGGRK7+ZmQGx+2pLxQMtoRjKi CwuAD0fmyCWoX1DMFsFLfNE8h0v8OIFLrH113Ncsdk2CgRt3oUx/bi75brGOEczrS5 TMAuPXSAUe1oT7//Rt10B20IOyCqz8tUfPiccgTDL8cTvGrxN3k3fiMz1b5EvnF7c3 RQR99+BMsZxQg== From: Jakub Kicinski To: ast@kernel.org, daniel@iogearbox.net Cc: bpf@vger.kernel.org, netdev@vger.kernel.org, Jakub Kicinski , shayagr@amazon.com, akiyano@amazon.com, darinzon@amazon.com, ndagan@amazon.com, saeedb@amazon.com, sgoutham@marvell.com, kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, grygorii.strashko@ti.com, sameehj@amazon.com, chenhao288@hisilicon.com, moyufeng@huawei.com, linux-arm-kernel@lists.infradead.org, linux-hyperv@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-omap@vger.kernel.org Subject: [PATCH bpf-next v2 1/2] net: add includes masked by netdevice.h including uapi/bpf.h Date: Wed, 29 Dec 2021 17:27:41 -0800 Message-Id: <20211230012742.770642-2-kuba@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211230012742.770642-1-kuba@kernel.org> References: <20211230012742.770642-1-kuba@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211229_172749_096179_C560DD84 X-CRM114-Status: GOOD ( 11.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add missing includes unmasked by the subsequent change. Mostly network drivers missing an include for XDP_PACKET_HEADROOM. Signed-off-by: Jakub Kicinski Acked-by: Wei Liu --- v2: - fix buildbot's randconfig failure in ipv6 CC: shayagr@amazon.com CC: akiyano@amazon.com CC: darinzon@amazon.com CC: ndagan@amazon.com CC: saeedb@amazon.com CC: sgoutham@marvell.com CC: kys@microsoft.com CC: haiyangz@microsoft.com CC: sthemmin@microsoft.com CC: wei.liu@kernel.org CC: decui@microsoft.com CC: peppe.cavallaro@st.com CC: alexandre.torgue@foss.st.com CC: joabreu@synopsys.com CC: mcoquelin.stm32@gmail.com CC: grygorii.strashko@ti.com CC: sameehj@amazon.com CC: chenhao288@hisilicon.com CC: moyufeng@huawei.com CC: linux-arm-kernel@lists.infradead.org CC: linux-hyperv@vger.kernel.org CC: linux-stm32@st-md-mailman.stormreply.com CC: linux-omap@vger.kernel.org --- drivers/net/ethernet/amazon/ena/ena_netdev.h | 1 + drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 + drivers/net/ethernet/microsoft/mana/mana_en.c | 2 ++ drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 + drivers/net/ethernet/ti/cpsw_priv.h | 2 ++ include/net/ip6_fib.h | 1 + kernel/bpf/net_namespace.c | 1 + 7 files changed, 9 insertions(+) diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.h b/drivers/net/ethernet/amazon/ena/ena_netdev.h index 0c39fc2fa345..9391c7101fba 100644 --- a/drivers/net/ethernet/amazon/ena/ena_netdev.h +++ b/drivers/net/ethernet/amazon/ena/ena_netdev.h @@ -14,6 +14,7 @@ #include #include #include +#include #include "ena_com.h" #include "ena_eth_com.h" diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c b/drivers/net/ethernet/cavium/thunder/nicvf_queues.c index 50bbe79fb93d..4367edbdd579 100644 --- a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c +++ b/drivers/net/ethernet/cavium/thunder/nicvf_queues.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "nic_reg.h" #include "nic.h" diff --git a/drivers/net/ethernet/microsoft/mana/mana_en.c b/drivers/net/ethernet/microsoft/mana/mana_en.c index c1d5a374b967..2ece9e90dc50 100644 --- a/drivers/net/ethernet/microsoft/mana/mana_en.c +++ b/drivers/net/ethernet/microsoft/mana/mana_en.c @@ -1,6 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* Copyright (c) 2021, Microsoft Corporation. */ +#include + #include #include #include diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index 4f5292cadf54..d42b6af32d6e 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h @@ -22,6 +22,7 @@ #include #include #include +#include struct stmmac_resources { void __iomem *addr; diff --git a/drivers/net/ethernet/ti/cpsw_priv.h b/drivers/net/ethernet/ti/cpsw_priv.h index f33c882eb70e..74555970730c 100644 --- a/drivers/net/ethernet/ti/cpsw_priv.h +++ b/drivers/net/ethernet/ti/cpsw_priv.h @@ -6,6 +6,8 @@ #ifndef DRIVERS_NET_ETHERNET_TI_CPSW_PRIV_H_ #define DRIVERS_NET_ETHERNET_TI_CPSW_PRIV_H_ +#include + #include "davinci_cpdma.h" #define CPSW_DEBUG (NETIF_MSG_HW | NETIF_MSG_WOL | \ diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 83b8070d1cc9..a9a4ccc0cdb5 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h @@ -20,6 +20,7 @@ #include #include #include +#include #ifdef CONFIG_IPV6_MULTIPLE_TABLES #define FIB6_TABLE_HASHSZ 256 diff --git a/kernel/bpf/net_namespace.c b/kernel/bpf/net_namespace.c index 542f275bf252..868cc2c43899 100644 --- a/kernel/bpf/net_namespace.c +++ b/kernel/bpf/net_namespace.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include #include #include