Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3680831rwb; Mon, 3 Oct 2022 20:11:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/H8pgJ83qttaVc6pQwMWd+axQf7frNpWme/CAyFqrJvimdEUbTEGRhs1zmPQfgNTphPll X-Received: by 2002:a05:6402:2789:b0:451:a578:74dd with SMTP id b9-20020a056402278900b00451a57874ddmr21364213ede.72.1664853072337; Mon, 03 Oct 2022 20:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664853072; cv=none; d=google.com; s=arc-20160816; b=irD3cOfeGMfvd9HY6OzP5rPyK4T5HPY9CodL3vqL2kGVbAuksxtSJTMuh7i4gYxs6I f14akCa+KMXkJ729miwTr5ccnZe4vzno35VAMlbXfhllaxc4REkKrui1XAbnX7cojxN5 NEsQr1fnLNZ9OWnJZGv5lpvcyyZ+cnBtbgYLUSWPAY8w/RM1s9MQso+nXcFiqXasXvmb 9ZN8RQvxhuyweeffIxgagrNNxhpZYIbKyjpvBlUuq6U5XuIh1CG9FspnCyWtDB8GGOEV GQ20YjqMg5WjfYyCPTxcLRDb9bBpeSopIEAO0W1IIOcC3wG3Ec/H7pE2z3VuNGUkj9DF gUgw== 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=KaoAdFRv76b7rRGW35lgp7SYKID3xoN5gkoVTMtSlRc=; b=qWzr3QX2jcXA2n8yyHEAVjTcljlMJhtfdDJKum8URdLprV4xPaZNd1HmFFuS3ysu15 jBaeBqONjMlS31IBlP9EtvMRt0hqUxSXxYqLYvVyZss/bUriMrSCy+Z2ja+0fpEWXruc Ey4FglB6rDpCszngIRmbbCHuvlJHlErdIG2trRE48X7bNPKJ3UjnNehXB+r5K6fsPKAc tpxJABR9bmewZxyknoo1A04JKAa5WPHegSU44NPG06juaQlAbL9THXi6MJj01rDCXOB7 ccnqk7gLwY4Hy9nzkk+IUzu1ROff1KZS9fPAISBh3k1t0K1BUkGgVZ+KVYyMARSDvY9N Z8uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LdhbgaLG; 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 dm3-20020a170907948300b007879e9a7451si7981397ejc.816.2022.10.03.20.10.47; Mon, 03 Oct 2022 20:11:12 -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=LdhbgaLG; 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 S229501AbiJDDGL (ORCPT + 99 others); Mon, 3 Oct 2022 23:06:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbiJDDGI (ORCPT ); Mon, 3 Oct 2022 23:06:08 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBD812A967; Mon, 3 Oct 2022 20:06:05 -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 4MhMzG5dmtz4wgr; Tue, 4 Oct 2022 14:06:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1664852764; bh=KaoAdFRv76b7rRGW35lgp7SYKID3xoN5gkoVTMtSlRc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LdhbgaLGFGjeJ9Paa6YlOKqyBJA7D/wyBWT0hd5TqpL9mE6SzbKU2RQPZ9izmMJ77 R2kNrwnBbXVaW5z669jBZqbqS2ylhn6C3HroymogBFqiAWtu9EMN/oJ2Hv25fiVGQF VCF/GHqflkMJw7S6f7e5v6Mw1xT+DLSoSeUuN11QJ4bwObdWNftsAsQE6crioJgRSb Fr5IrYYHRfGSEjV961+uHB1NMzlrIR191UIrR+SOOrxb0CxLLnMgRVb1GIeNw6YyQ4 F5v7V7ba/YzkauELSP1XGhrwl67SB42S5r89+xGZPvhiUkbRR1/KrdWwbDoMNDKNmc LHJTB+kGkP7Nw== Date: Tue, 4 Oct 2022 14:05:58 +1100 From: Stephen Rothwell To: David Airlie Cc: broonie@kernel.org, Lucas Stach , Aurabindo Pillai , Hamza Mahfooz , Alex Deucher , Linux Kernel Mailing List , Linux Next Mailing List , DRI Subject: Re: linux-next: build failure after merge of the drm tree Message-ID: <20221004140558.64f59f2c@canb.auug.org.au> In-Reply-To: References: <20220930105434.111407-1-broonie@kernel.org> <20221004132047.435d42db@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/zn3cNZXJ4akLAJ9548KNlKz"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS 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_/zn3cNZXJ4akLAJ9548KNlKz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Dave, On Tue, 4 Oct 2022 12:24:37 +1000 David Airlie wrote: > > On Tue, Oct 4, 2022 at 12:21 PM Stephen Rothwell w= rote: > > > > On Fri, 30 Sep 2022 11:54:34 +0100 broonie@kernel.org wrote: =20 > > > > > > After merging the drm tree, today's linux-next build (x86_64 > > > allmodconfig) failed like this: > > > > > > /tmp/next/build/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stre= am.c: In function 'dc_stream_remove_writeback': > > > /tmp/next/build/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stre= am.c:527:55: error: array subscript [0, 0] is outside array bounds of 'stru= ct dc_writeback_info[1]' [-Werror=3Darray-bounds] > > > 527 | stream->writeback_info[j] =3D stream->writeback_info[i]; > > > | ~~~~~~~~~~~~~~~~~~~~~~^~~ > > > cc1: all warnings being treated as errors > > > > > > Caused by > > > > > > 5d8c3e836fc224 ("drm/amd/display: fix array-bounds error in dc_st= ream_remove_writeback()") > > > > > > I have reverted that commit for today. =20 > > > > I am still getting this failure. The full error is: > > > > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c: In function = 'dc_stream_remove_writeback': > > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:527:83: error= : array subscript [0, 0] is outside array bounds of 'struct dc_writeback_in= fo[1]' [-Werror=3Darray-bounds] > > 527 | stream->writeback_info[j] =3D s= tream->writeback_info[i]; > > | ~~~= ~~~~~~~~~~~~~~~~~~~^~~ > > In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc.h:126= 9, > > from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core= _types.h:29, > > from drivers/gpu/drm/amd/amdgpu/../display/dc/basics/d= c_common.h:29, > > from drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_= stream.c:27: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dc_stream.h:241:34: note: whil= e referencing 'writeback_info' > > 241 | struct dc_writeback_info writeback_info[MAX_DWB_PIPES]; > > | ^~~~~~~~~~~~~~ =20 >=20 > I'm not seeing it here, what gcc is this with? I am using an x86_64 cross compiler hosted on ppc64le - gcc v11.2.0 (on Debian). --=20 Cheers, Stephen Rothwell --Sig_/zn3cNZXJ4akLAJ9548KNlKz Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmM7oxYACgkQAVBC80lX 0GxCgwgAirX4hMjmK8WlBWOZCmyEx6ZfWt3FpSnRNI5RuL5GOSP/n7YCwjV7W4D/ i9qtIOBy/d7DUc1wGOm0zzmVFxA7gTTVbDzVIR/HM8Ua+Z0VLsaX4HtNpqnRQKiH 7YCTkzet6ZS5IuryLx+TGtdPdNvx+3U6b/alD1451o1D+gQAfiSMHBqEx0JFTvBE RMAAvce1RvIoKE2QMcjllgdUQOkHda2r0J2VChv6anK2WeLcfbGD0YFgvQP7B4P/ 5A09YflWT4c5/aToSwPpRD2wxpgRand7UB9D/1ces+R0aF1zH1Bi0HfNIezgcm8M qI1v4Xquw6YyBXKXfObTIj2bRyG/Rg== =jndg -----END PGP SIGNATURE----- --Sig_/zn3cNZXJ4akLAJ9548KNlKz--