Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3600895iob; Tue, 17 May 2022 03:39:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7lpq35YJwH0BmoV7/ECa0OcEzp/9qETppbpow8QmG0ORZLITJV/iIg9YRpUIR1tzLGcyi X-Received: by 2002:a17:906:2cc8:b0:6fd:d8d8:b8f3 with SMTP id r8-20020a1709062cc800b006fdd8d8b8f3mr19330940ejr.384.1652783978171; Tue, 17 May 2022 03:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652783978; cv=none; d=google.com; s=arc-20160816; b=CNbBhHYFR3wGUe1+yxNwUeQXCW1ekvZdoTCu+todoGiZG2nLGcdVW5MYOHNJTMWAPf yAgZ3DuHAS26lYPFvUq9AOqZQHKvYfNEQ+LVRdbOFmlbV1mWAqn0KGy5HFULk5PlnNdr yuvaEHq319XTa7VEiLw60MQwMHdC87LU6NK2qL/t96mR1qG+cn36rLp9fa5n5b2tWP/3 Em7vpCHPdRJBTp5nikZ+39QWrmacPK5mwSU9FXsZcs1rbH0n6ObxAVF8mm2n6wQyCX3S FcLGCjypYdOcUy+LxxfcWtaHrerYbbJe7zYoY1xOvr5ySooxIVSJxWO/qVtbrlHHDTJS aq3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=PvHKH9C7qcFJ1DB3vXvZC31uK1pYg4dsP3wXn6Ovzp0=; b=B1mQFcse5D+6PvjjQp4EmJ9kQuoFQDS+seZbnwOOO10P/osJsynKIDgsgWGaBIM2Cz 7QjNlbeJdbozHOk2jFM6XYtRbR9MvV/vBY6XA0qNfViiP820UnXV3MPNqvaT4RK1RK57 v3fub222fR1zTted55E9KCxj47ACl+pcLTXY0csg3Edk32PWSHYddqbuHKdMkAcC2erG cFj7uqjexb6sSSbhYAQBO9IZooU6Wue/KcA9hhveTC7T2zGhOaQv1gUemNChfG02xyDa qPszYRctdg5ta/Tb0eQLhVvN5gLpr/u3l7EGkh6UGwQWx4VtFc5wV+d0OQWHCntG9m+8 uI7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=P51d5V9s; 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 e19-20020a056402191300b00427dbb2af95si15393072edz.296.2022.05.17.03.39.13; Tue, 17 May 2022 03:39:38 -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=@canb.auug.org.au header.s=201702 header.b=P51d5V9s; 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 S243970AbiEQJDr (ORCPT + 99 others); Tue, 17 May 2022 05:03:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236567AbiEQJDp (ORCPT ); Tue, 17 May 2022 05:03:45 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 427B53EF1C; Tue, 17 May 2022 02:03:37 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4L2VXQ6sSBz4xLb; Tue, 17 May 2022 19:03:34 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1652778216; bh=PvHKH9C7qcFJ1DB3vXvZC31uK1pYg4dsP3wXn6Ovzp0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=P51d5V9sgBiwjmwO1K5WJzcx62IPxOQ2S2JU0qSlIpKdEA/xzGCKUDJcT5skrUPxu dBlIMAMxSyfoYUhRgiUV/xvaTsuMf5uqwfXuOzRwel8ulOIbatPs+rWkJ0wHWJYwJG kwTVwK2GezuuChZT0WOoRlq8b+BD6GUugcQWNKktls4k2DtNLYzvm69kzO2OOxPNXg g5wlSTJFyNqK0DIIGqtv07THAZTdXqP9bYINi6tgRSbcxt426h6Rq6VYJH7rtlEavU xldVyJG/9Z/Z6Yce7s3skw8b7qG0hd93ktwzKgA0gyrpGlRoetKuQ/xeYzAQVLPs8P UgOS1J4oMjXkQ== Date: Tue, 17 May 2022 19:03:32 +1000 From: Stephen Rothwell To: David Miller , Networking Cc: Florian Westphal , Pablo Neira Ayuso , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the net-next tree Message-ID: <20220517190332.4506f7e8@canb.auug.org.au> In-Reply-To: <20220517110303.723a7148@canb.auug.org.au> References: <20220517110303.723a7148@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/MVHAGlvNapLv1B+3dFq=KEu"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --Sig_/MVHAGlvNapLv1B+3dFq=KEu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Tue, 17 May 2022 11:03:03 +1000 Stephen Rothwell = wrote: > > After merging the net-next tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: >=20 > net/netfilter/nf_conntrack_netlink.c:1717:12: warning: 'ctnetlink_dump_on= e_entry' defined but not used [-Wunused-function] > 1717 | static int ctnetlink_dump_one_entry(struct sk_buff *skb, > | ^~~~~~~~~~~~~~~~~~~~~~~~ >=20 > Introduced by commit >=20 > 8a75a2c17410 ("netfilter: conntrack: remove unconfirmed list") So for my i386 defconfig build this became on error, so I have applied the following patch for today. From: Stephen Rothwell Date: Tue, 17 May 2022 18:58:43 +1000 Subject: [PATCH] fix up for "netfilter: conntrack: remove unconfirmed list" Signed-off-by: Stephen Rothwell --- net/netfilter/nf_conntrack_netlink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntr= ack_netlink.c index e768f59741a6..722af5e309ba 100644 --- a/net/netfilter/nf_conntrack_netlink.c +++ b/net/netfilter/nf_conntrack_netlink.c @@ -1714,6 +1714,7 @@ static int ctnetlink_done_list(struct netlink_callbac= k *cb) return 0; } =20 +#ifdef CONFIG_NF_CONNTRACK_EVENTS static int ctnetlink_dump_one_entry(struct sk_buff *skb, struct netlink_callback *cb, struct nf_conn *ct, @@ -1754,6 +1755,7 @@ static int ctnetlink_dump_one_entry(struct sk_buff *s= kb, =20 return res; } +#endif =20 static int ctnetlink_dump_unconfirmed(struct sk_buff *skb, struct netlink_callback *c= b) --=20 2.35.1 --=20 Cheers, Stephen Rothwell --Sig_/MVHAGlvNapLv1B+3dFq=KEu Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmKDZOQACgkQAVBC80lX 0GwWtwf9Gym5VoAzMup2/OcuiIuikDIJdyDG8Nm8Y14zQRJLVgm2fMv8NnqwpTMJ ojQMTM5JYY/2u+Tn4O1KqetkDN8mmHEtRmG/vpZZqU1QP1E2Ie7zrd+nf74Qa1en Y4ECWgRK6LY1zSel3VgvSu0gippdWe7F3bmyztCbRkWhmeqg81TLQK6agf+Wzp9Y 6sCzF+f3/Y2BjP9a93ADeqnPtmAVIpWpO1iOzRr9SA4N+MrXsZ+qtb6nCA2vuDn5 3IUd56Jp1jPvPo74trHN1I6V923g0Ahs53afh3Nd1+sAo3lH3NANuFvAVzko1cbO Cch90NdSTwmN/kSpNPQtltxkVRjT0Q== =fni1 -----END PGP SIGNATURE----- --Sig_/MVHAGlvNapLv1B+3dFq=KEu--