Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp109948rwo; Tue, 1 Aug 2023 13:52:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFSerub762ehI+t8cFlUWk8p+rC2qHDnXzwcE8NVLllNqbBgkx4AOxuvg4igyr02ie9OYh X-Received: by 2002:a05:6512:2529:b0:4fb:8fde:f60d with SMTP id be41-20020a056512252900b004fb8fdef60dmr3713790lfb.22.1690923127802; Tue, 01 Aug 2023 13:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690923127; cv=none; d=google.com; s=arc-20160816; b=zlQXXaRb4Pz0l5+4t6he8/TUt8p9QuwXXWnF/PNbMMsgM9PX5sqaIkowlyeadN3lNz DDoft7uCZvssp/s05g5nenU/2GTeLS1Wg9EcKQpORkylFKGBniQqyAu2Ay3xvq6uSbs2 iRgg6Wbw1Mkgos11Mfb8nAQeWQgWdp5kmN5pAmWqJ05UgC3bEAFaEmmOYWG7+vBJMhnv NxWWJiiVk8RBvj7bmmO7NUWnYItnjgOmHMo9qTOkwt9TMsZyhrx2GDSCtF+JSTDPSd4W mBgtxt5s9ZwjrpT6w1c8mR4LmC/h7IWiXmyzyvJRzn1YdcEN0Z2V3OeNHxxiEDU4NZqv wF6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=50K0rjAZpMOLnZsQS3es5SZ7R2JGHZMJS2+QIhOnXEc=; fh=za9QMt8K7npywsGJKaYY0e6OFSgrwCPGrH1KiUH2/e8=; b=Oe2UTKegMWeK+F6M01asUXXB7tRFSlNEjSJF5PoAs2MePIOnW4pCqA1r403xCv44kT olbUrvRxrQo5UvB9yeomWuM6+u9ABcIYlXMq69WdAo5lrclfnMPKQkAvPktV6TSGHa1Y Oz+tsqGKPM6pVK/2paxzwIwCvQ3iNBuIp1YpTq05ixu/nTK5tUwfRHFJ0rjd7K3rVgC8 8/8fOT7XDZJ7HSOPjWj6yGFBE99g1sfnJaCQhYZdmbZnS9khByqTkak430Tgasfsczci 09g2lWYbJTucVmiV3NIMNDc8RsCKgvAflPNEfwS3H/4lApHgY/xeotMi8owHgOeMDg0E TOYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm2 header.b=T9GkXm5g; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="ysrqy/DP"; 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 a9-20020aa7d909000000b0052240dd74f4si8847713edr.616.2023.08.01.13.51.43; Tue, 01 Aug 2023 13:52:07 -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=@dxuuu.xyz header.s=fm2 header.b=T9GkXm5g; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="ysrqy/DP"; 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 S232396AbjHAT3J (ORCPT + 99 others); Tue, 1 Aug 2023 15:29:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232257AbjHAT3I (ORCPT ); Tue, 1 Aug 2023 15:29:08 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B698D103; Tue, 1 Aug 2023 12:29:07 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 891CB5C00D1; Tue, 1 Aug 2023 15:29:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 01 Aug 2023 15:29:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; 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=1690918144; x=1691004544; bh=50 K0rjAZpMOLnZsQS3es5SZ7R2JGHZMJS2+QIhOnXEc=; b=T9GkXm5gSU3tOXrp9E 36ZU/UZXuBRob2tmtMybh09WX2gr52fiBEgj86/KpJvPMt7JaiHDWo36mUPT6P2v mNUtYOgMCsOeA8LCZMR9MfZexBqvuwl0MHyP3QYaU47l40L3o6vIkexRf9wW94HN mUWUfczWXu+ls645LESj+SPKBOXKEp19EGb5GnX1YmWMwrO/wjl3s7Z4vA+YhF2A fv+2SSmdPrVG4ixz31HsCVwgqRrZFGBgzBgqLB2Quoilr3mmLmx8XmF/m7TcO8Nu mYUIZGfHAhYHWKQ2ok2EJBHYI4mi65kvEqhFaz9xbSEGQmOph1pvOdPzXmrYk0eW Aj6Q== 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=1690918144; x=1691004544; bh=50K0rjAZpMOLn ZsQS3es5SZ7R2JGHZMJS2+QIhOnXEc=; b=ysrqy/DPDf0EDgyHSuuTQzcKD6IEe 5Nsi0NaQcyAXZCHiWQOBtDspe1Ckg5vHX/sBUi8GbhHobW/XqZr+HGbHg3E/B1Wd t4Ex+90CAKfXIJ61NGvdpDQkg0oaP+L9ycpf0MvqRmo6W65x4D2zIu3vvmgfkD/T li4xwcjbfTP266cmlZZ0hkTHnC0wH1Dqlxe5hnSQDpK4NjIY05OqCTm5cA1zQtXx PVtDdgYBshNCIqWFrXkaS9Q0ZEsBsE/EnKRBlX1XWIrVq1Ir9AGGKNJTVIusofx6 Ae4q3x/ObPB/VzNmp/+uZO9dzV+0T5JubSCz9jC+KlpwUfllOG+kdr0Fg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrjeeigddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhfgggtuggjsehttdfstddt tddvnecuhfhrohhmpeffrghnihgvlhcuighuuceougiguhesugiguhhuuhdrgiihiieqne cuggftrfgrthhtvghrnhepvdefkeetuddufeeigedtheefffekuedukeehudffudfffffg geeitdetgfdvhfdvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepugiguhesugiguhhuuhdrgiihii X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 1 Aug 2023 15:29:03 -0400 (EDT) Date: Tue, 1 Aug 2023 13:29:01 -0600 From: Daniel Xu To: Arnd Bergmann Cc: Arnd Bergmann , 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 Message-ID: References: <20230801150304.1980987-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 01, 2023 at 07:27:33PM +0200, Arnd Bergmann wrote: > 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 I'm not too familiar with the linux-next process, but chatgpt is telling me it should be. Thanks, Daniel