Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2418818iog; Sun, 19 Jun 2022 17:23:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t1gSRchCzttAXf9kaU318GYLEDQmq060CfNb3+8PEZgkiELp7BQXSO7pu0KDaApuQd9C7u X-Received: by 2002:a17:907:8a1d:b0:711:d86e:cc5 with SMTP id sc29-20020a1709078a1d00b00711d86e0cc5mr19095635ejc.237.1655684586626; Sun, 19 Jun 2022 17:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655684586; cv=none; d=google.com; s=arc-20160816; b=jqfeci+0Vllx+so9v5vVZfqRLMd6WwU0uJbLpwjl5GTRLv4J0R4nB9R+ec8V5gzypw vgChjqmn5JkOoxnwjuwAo87WK1Bs+SYVdS9JdC0ql2I1DHkvksDrYEqsiKjiACvA88BJ /unKA6IR4UWlvEPKl0YphEtE0Lwp3BTsM310ACDN8LYiWWgKC6QAQpYtiYPKkiZqDOYf OpJPdSMc57sc/p02w6zG/awKYu9nfTS6p41hA0gXR+rBdlBHordiSILbwux5vOdjCKXl DeUkz5RvcCjDGHWVyzPzdAq5x6xEuq/DdzsLnm9rVNRQy5Y4QS/BMXHFM+PkY9HAy046 Bpwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kyIkiZAiAiTXNFNHwizDZ9FyvnKD+JgDWZnNKx1jLVE=; b=pASSfg1rkUPe/80gcSYzpQ2zxlJSybde13MuHcVtrx5OPAYsE3q4NmQjbhikXEo5PZ xHWYLt0NNxn79ScIiRT6FsJX8TfTSsyBJRG2cTteQQPtcGvucXa5jZKh/+Ie08fYZkgd TLtyuU0Y5UmvV1FMOlsP7ygZy5J2nDSgZQ26GKCf5oJdtD2O+AXmF3NDzrPt7QL9FYpe wM2LStz2X5vMeA8eremEK9T7GhQfQGgliEjRvT3dRs1E5rbAl482nfb6WmD7z+M5Qwnr ExtxPbK6N+vIx3In6F9MWWRasu2r9wCvGX1IGoWSL+HZtGKLRiWIzAAZsg46Dk8QVRMz +1Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=YmXR9mxZ; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m8-20020a509308000000b00435738f4569si4995240eda.195.2022.06.19.17.22.39; Sun, 19 Jun 2022 17:23:06 -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=@amazon.com header.s=amazon201209 header.b=YmXR9mxZ; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235758AbiFSXso (ORCPT + 99 others); Sun, 19 Jun 2022 19:48:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231539AbiFSXsm (ORCPT ); Sun, 19 Jun 2022 19:48:42 -0400 Received: from smtp-fw-6001.amazon.com (smtp-fw-6001.amazon.com [52.95.48.154]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37A799FFA; Sun, 19 Jun 2022 16:48:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1655682521; x=1687218521; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kyIkiZAiAiTXNFNHwizDZ9FyvnKD+JgDWZnNKx1jLVE=; b=YmXR9mxZ2FN0PgBb/7zuuRV7WmL+xX2JwsuBxL8ndW0n26D/yaBatRL1 1/fHNM3ZZib1LiXiuVZlvI+OiI8ARXYN3BV3tfF+aBgeUkMGKNk+Qh0zS JYcja+nzT4hApAsg1Hfhrzvmbea4Aw2GGek0zHH0DD2oHTIok8Uq7Kkcw w=; Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-7d84505d.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-6001.iad6.amazon.com with ESMTP; 19 Jun 2022 23:48:29 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2a-7d84505d.us-west-2.amazon.com (Postfix) with ESMTPS id 554E9800F0; Sun, 19 Jun 2022 23:48:28 +0000 (UTC) Received: from EX13D04ANC001.ant.amazon.com (10.43.157.89) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Sun, 19 Jun 2022 23:48:27 +0000 Received: from 88665a182662.ant.amazon.com (10.43.162.51) by EX13D04ANC001.ant.amazon.com (10.43.157.89) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Sun, 19 Jun 2022 23:48:25 +0000 From: Kuniyuki Iwashima To: CC: , , , , , Subject: Re: linux-next: build failure after merge of the net-next tree Date: Sun, 19 Jun 2022 16:48:12 -0700 Message-ID: <20220619234812.57765-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220620093424.0615a374@canb.auug.org.au> References: <20220620093424.0615a374@canb.auug.org.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.43.162.51] X-ClientProxiedBy: EX13D38UWC002.ant.amazon.com (10.43.162.46) To EX13D04ANC001.ant.amazon.com (10.43.157.89) X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,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 Date: Mon, 20 Jun 2022 09:34:24 +1000 From: Stephen Rothwell > 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=declaration-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. I have posted the same patch just few minutes ago, https://lore.kernel.org/netdev/20220619232927.54259-2-kuniyu@amazon.com/ > 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=declaration-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 *skb, u32 info) > > void raw_icmp_error(struct sk_buff *skb, int protocol, u32 info) > { > - struct net *net = dev_net(skb->dev);; > + struct net *net = dev_net(skb->dev); > struct hlist_nulls_head *hlist; > struct hlist_nulls_node *hnode; > int dif = skb->dev->ifindex; > -- > 2.35.1 > > -- > Cheers, > Stephen Rothwell