Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp6053118rwb; Tue, 1 Aug 2023 11:31:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlGW3nnLbpFuVnRfD950DDSclmrmwPyVySeLlhm5ONKx5Dw9ccUDWHZxjZV4SRMXfbWs40+J X-Received: by 2002:a17:902:aa46:b0:1b6:6625:d3a8 with SMTP id c6-20020a170902aa4600b001b66625d3a8mr11819746plr.16.1690914673872; Tue, 01 Aug 2023 11:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690914673; cv=none; d=google.com; s=arc-20160816; b=Gv+khQqHBK+g5lIaHbvJDf/RBrxCvuyP5F7e4jbAayKI19bMB5ZRSAzuZEA+RGFiZe ycKCU2IyugZQu4l7zHGa/JrVPB2dsLfl0mlbnj3DF2heLEWREmFEOfjy7lmgdx2snvoY daT6sn7ED/3L0vFPeMzo0xTOBGFfCVikVvQVD6iKZVQkgEqvIOoT+GXGtOPB2VamRF+g u18gfglp9NMNT02bKBkIhRvdd5zbhTDrmBsTy7bagxEhvwezhlPtDQ6JtjKzBKcqEa2C KsU2C4tfsNo1fqGq2VoaNxR6HyQoGi2m1pty7inqC6/zZLp89L0suQG/0WeSDUfN2MQE ScYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=pBpYc/Pf6EGtAPeRfMhWXTZpwXc2kxuh9RaouaWP5Dw=; fh=B4angBpQLc6pvtUcWyeByrSxJQ98g7hsWRyFfGxa984=; b=vNcGGaMbyF1Pl0hCTAjBhBSbm2d8myXIV7F614jXwnPBZNQc5Ht4qfN3sSANh3q1V0 jKpQOBy/2H9D63AsHJTLKLPdm6DGTv6Mwd9rYqUZwooHiKI2t935iX3OvuRfFsAP0Usr v92ad/PwDPkd1tw4aquhPwaFRc8rHWzcLF+GtvuQBsFWRbkrpQYwA2ODuKeZDUWdcfPH +tTzwXcVbgkNs5t1wiPUX1xSiEmuaLxyYGeFV4LxgexLSr6+3IaR9OvLTR/SwkA4jpkb 8jeZU541oE73FQQLHvWNyAeRYg3nJND+u3wEI0tu5fh7tny6HzOzsMLlPq+Z4bMYdCGE rFdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=Nsg+7Txw; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iSXVeUBA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e4-20020a170902e0c400b001b04741042csi9291958pla.93.2023.08.01.11.31.01; Tue, 01 Aug 2023 11:31:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=Nsg+7Txw; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iSXVeUBA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232218AbjHAR2R (ORCPT + 99 others); Tue, 1 Aug 2023 13:28:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234944AbjHAR2J (ORCPT ); Tue, 1 Aug 2023 13:28:09 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67B5DB0; Tue, 1 Aug 2023 10:28:08 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id BE1443200786; Tue, 1 Aug 2023 13:28:05 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Tue, 01 Aug 2023 13:28:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1690910885; x=1690997285; bh=pB pYc/Pf6EGtAPeRfMhWXTZpwXc2kxuh9RaouaWP5Dw=; b=Nsg+7TxwZjrfPQ0oUg Rd6gTA3CErwZSNBVie63BRxs9h6FBgRV8/3PuKHqUYEnEu3EEDOP/AbKtmrfpkjJ 46ImZDp7lFRV/tj/HFACQRWOcj5TxnOi/hbEtOxu4jUButpFnUeW8+oEfXeHBIvG eBPQtO0a7cXSeUc3auFEgkTwJIJI59b9LKX2LKqr91BoXjLrh2rWJNH9S0vwTpGE L7YIZ9G3s3aeQyceSuNmGtF+TJ6nMDEShXsE93eVw1TmBypL7a/FUH8eHvXCXkE0 kR/AiAPMnXicENica8y8iVSx1GpQ35nyyE8opqcofFl1LJz2Xr4Rp5tSUfBsgSXe MvLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1690910885; x=1690997285; bh=pBpYc/Pf6EGtA PeRfMhWXTZpwXc2kxuh9RaouaWP5Dw=; b=iSXVeUBA4GKKpcMQFBgspREN365eW PnF8/KeAneSZRg+gggl2J22u5eeTprMXHUdYbwL3BUu2kyDdT2OHTeiyPx377FNc P4sR5zN4z899zJWyPPNDRon85E/tOnRiwhHBLR5xCrDnN1DTkKD+Fc6gvnzAnPoR ZFPOquO0ss5gy11sOamUF4bSvbQYZfsf40rXSxF82/dTSax4b8TQq9fXAMEKf/iB DFsKR85PcSwvKR938w2M/GGWKRRmEnp3Y3bR+RNXmU0nW+Pv3RIqvXDjr/Gxwigt u9XfYQflMIeCjja0l4jB29FW9O5y1BRf97KAMfhrcTcCM9M7stfNLEVyQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrjeeigdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9176CB60089; Tue, 1 Aug 2023 13:28:04 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-592-ga9d4a09b4b-fm-defalarms-20230725.001-ga9d4a09b Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20230801150304.1980987-1-arnd@kernel.org> Date: Tue, 01 Aug 2023 19:27:33 +0200 From: "Arnd Bergmann" To: "Daniel Xu" , "Arnd Bergmann" Cc: "Pablo Neira Ayuso" , "Jozsef Kadlecsik" , "Florian Westphal" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Alexei Starovoitov" , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, Netdev , linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH] netfilter: bpf_link: avoid unused-function warning Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 1, 2023, at 17:20, Daniel Xu wrote: > Hi Arnd, > > On Tue, Aug 01, 2023 at 05:02:41PM +0200, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> The newly added function is unused in some random configurations: >> >> net/netfilter/nf_bpf_link.c:32:1: error: 'get_proto_defrag_hook' defined but not used [-Werror=unused-function] >> 32 | get_proto_defrag_hook(struct bpf_nf_link *link, >> | ^~~~~~~~~~~~~~~~~~~~~ >> > > This was fixed in 81584c23f249 ("netfilter: bpf: Only define > get_proto_defrag_hook() if necessary"). Ok, I guess this will be in tomorrow's linux-next then, right? Arnd