Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2400487iog; Sun, 19 Jun 2022 16:49:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tdxLls0a2XGQMU9drHNlLi73RtT+TNA585AmUiLIq0rvlh1seihs4gb7SHVwjnRJb7ZthJ X-Received: by 2002:a63:485d:0:b0:3fe:2b87:cef6 with SMTP id x29-20020a63485d000000b003fe2b87cef6mr19686060pgk.2.1655682576367; Sun, 19 Jun 2022 16:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655682576; cv=none; d=google.com; s=arc-20160816; b=SatyVerhkVJCzn2/JJMI6QiqnFRHLFE582jL5mUqLcL593oCF/zEDwi8SJUUj/4xEx BWVf5z3a/RREG9rIeDcJd79iVVTJadnY6p9OBIZ5FmAyZGxFGIW6LLuYII9l5BD8pqzN 5BFJ8HeI+xiBNYEalSSPusnb5wyUqvbAt+OfupiV4NKMYIMfqPtqO1oezSJm9Yzd8kuk io+se7yS0ZR0KvuTXsaFK0cyZl+o169lvtoGn93cYq/BnPv4om+lMmbeHiH+TUCq2FPr ZBJdsUQ5wG2rI5ANkobVFB0t/ujbQhSoo4Wujr+xKQOEFjObNG46kRK5kbCtiA3q7SwO ZBnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=XCmoHAJGKCFrPOl+19AKGJEOmMMNLQ7mtdF3GYoctpc=; b=J/YejPiPhSRJ53eSG2F6sDuQKoSgpAt+cvYkOy+GhsTiVmvXApSKKZMiXGX1x1G9bp QUDrKYBkpilKw3W6AKSTTM7YRxQeISneS2AtRR7spQOzC0FqAeuqlx1GyeGbXuYWcudO E45ALYm25xrsj8IPgyEbm7Au6W6S2V9FNlv1jJniiYy+qH+zpWbXbKuM0p7XgJXRQo8g 5oEVclWCf52vk+qwvD9wMAa0XkHefNncL7+CIEQeL96ZV6aFrlVNPYZxW1tLIKwjVoPX l/L85X8aeCKyri2DSAVtcMnKzaUcbS61yTgdW3R3Q+JOKuUm8aoffdgKyM+vbSau6tLG akFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LrAXmYNM; 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 s185-20020a632cc2000000b0040c9268b3e9si6170909pgs.723.2022.06.19.16.49.24; Sun, 19 Jun 2022 16:49:36 -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=LrAXmYNM; 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 S235329AbiFSXeh (ORCPT + 99 others); Sun, 19 Jun 2022 19:34:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231539AbiFSXeh (ORCPT ); Sun, 19 Jun 2022 19:34:37 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30B1165B9; Sun, 19 Jun 2022 16:34:32 -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 4LR8J25MDpz4xD3; Mon, 20 Jun 2022 09:34:25 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1655681667; bh=XCmoHAJGKCFrPOl+19AKGJEOmMMNLQ7mtdF3GYoctpc=; h=Date:From:To:Cc:Subject:From; b=LrAXmYNMKJQFE6xc/ROjRyS2fEKsVGVfQn1Ww90Fj9MoDIq9bqjbYJOkfNY2xounT wqiQySykp675Y66viCFq7OgjRUCVhTcqUAKCdwxXfQSaSFUO6a4jRPSI18pFpxg9SP 6dMfJObonep3pQo+RBb09NYg+EC7GEhamdKTszRm4FgEhYTEkbjNffB6YiUcxdDAp2 gq/9J88gm3osvH7HLSC6Us5hsOw08QEXfP6WOsxV3G/w5bbJfErrtkoSArVGmiHbIh QLUue1cTwZEut61Q78nF8av9Cs4kleGh4dLRWZFH/c/2W3MariC22yN3oNKyOB+2Aw AL6LpOEFrJa9w== Date: Mon, 20 Jun 2022 09:34:24 +1000 From: Stephen Rothwell To: David Miller Cc: Networking , Eric Dumazet , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the net-next tree Message-ID: <20220620093424.0615a374@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/4DCfUCSlQH8GtJ8aX_cx.qX"; 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_/4DCfUCSlQH8GtJ8aX_cx.qX Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: net/ipv4/raw.c: In function 'raw_icmp_error': net/ipv4/raw.c:266:9: error: ISO C90 forbids mixed declarations and code [-= Werror=3Ddeclaration-after-statement] 266 | struct hlist_nulls_head *hlist; | ^~~~~~ cc1: all warnings being treated as errors Introduced by commit ba44f8182ec2 ("raw: use more conventional iterators") I have applied the following patch for today. From: Stephen Rothwell Date: Mon, 20 Jun 2022 09:21:01 +1000 Subject: [PATCH] raw: fix build error The linux-next x86_64 allmodconfig build produced this error: net/ipv4/raw.c: In function 'raw_icmp_error': net/ipv4/raw.c:266:9: error: ISO C90 forbids mixed declarations and code [-= Werror=3Ddeclaration-after-statement] 266 | struct hlist_nulls_head *hlist; | ^~~~~~ cc1: all warnings being treated as errors Fixes: ba44f8182ec2 ("raw: use more conventional iterators") Signed-off-by: Stephen Rothwell --- net/ipv4/raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index d28bf0b901a2..b3b255db9021 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c @@ -262,7 +262,7 @@ static void raw_err(struct sock *sk, struct sk_buff *sk= b, u32 info) =20 void raw_icmp_error(struct sk_buff *skb, int protocol, u32 info) { - struct net *net =3D dev_net(skb->dev);; + struct net *net =3D dev_net(skb->dev); struct hlist_nulls_head *hlist; struct hlist_nulls_node *hnode; int dif =3D skb->dev->ifindex; --=20 2.35.1 --=20 Cheers, Stephen Rothwell --Sig_/4DCfUCSlQH8GtJ8aX_cx.qX Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmKvsoAACgkQAVBC80lX 0GwhXQgAgW6VnNxSLdSjFSsZxN2oozgsu0RTviMHE7u2sKOO72cj8BOOiSen6QyO UF9a0iHDjIJoJ9QuhPiqeUfsVdQge4HlzKdIkOOI9/lkbDPscZowD23UEKnjhmP6 +nlOSGQ1kusToP+RfGh+ust+0Jza9B5BWYaNoaCSpnXE6V12nfXt43rhvdRV9FE4 SqUztSK+YZuwRGUg/axsFbsxaPWjyEQyZ0eHFD/4r2koWhbtFPSrU+uWKCE9CDfo pf/EtnvwK90mMStRjx5Q9Ko4kwzDpQ7CvNP0D2g1X7k3SvjE5KSJ504s92KFqdEb InH/tFb8SzNKNr/Ss/24xSW43ajZUQ== =Whmj -----END PGP SIGNATURE----- --Sig_/4DCfUCSlQH8GtJ8aX_cx.qX--