Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3661949rwb; Mon, 3 Oct 2022 19:46:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5VzUGeG2EzKYwRlA9VmBb8guvu1vE/iW9LZ+NrwpY3NEE77Kg/VlU0cTb+9myNoxxXHe9d X-Received: by 2002:a17:906:58c7:b0:722:f4bf:cb75 with SMTP id e7-20020a17090658c700b00722f4bfcb75mr17286083ejs.450.1664851559833; Mon, 03 Oct 2022 19:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664851559; cv=none; d=google.com; s=arc-20160816; b=tAxDSmlLYmBMfRFXsai9PmfHDiG6R9050+T9PhMxGu34/noODoxIM2j+YsandXAY1D G7eSMzrMwABng15arkA54Tqef/470zcnVhzw1dvzxAn2yrtmL+eQuoEQ1ImSX/ib7nko j2fsCd05Y4//dteDg2BZvXE//oIm0J9Rjch3CEmyjUbN/KmKvuMUmn4ACZh6gBPyw0NQ NrxwZtIdhp7yNq7m2fvN5a+UJnQOdjKLFWaUMIC1hjlpOPOvKmjrSXXqAAfssGgGu/4M ozKUe/zgP4FXheB+9sfTsqT8VqB7Eqi9FEtZAypiINWGRNb+nxpTQNvUpNjx0rS0W5pp NFmw== 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=V8QacDBhC5wIE+xliBe7paC2IAqaDLg7qOpUOCQUQzE=; b=jcnvS8RG9EtVjDoB6AzjK8kp4Nga7yzZHEhfWX84mxqDZ07iPPvsx8WmW1dz2H+Avd dXBnQzFcAhCh8RByTDkr3RjhV6CLbG91yx+fd9K9EhhJ9znT6eAyjAhSHUHMSWJDYE7z lKd2BJW30Ro2+2Q3uBbSSdXJhLbvbqfmoZ5zK/KH5EtQUBH/sNKccvdbarPYai4tFvRy WXMT50d1HYPCXMvZTrpELF6mVLGGcFSrpUV9hdW3OMDE9HH//UHk7RcUQkxyArsLGiCr ezlCoKz5Zv0SE/nnOhWnpfTuqbjhP7zd1IvAj2/Nf4Cf6L7RVV97bXrpb62hYAoNNTuV wxqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=L7aLRMh3; 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 dr13-20020a170907720d00b00779a69067afsi9912674ejc.830.2022.10.03.19.45.35; Mon, 03 Oct 2022 19:45:59 -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=L7aLRMh3; 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 S229564AbiJDC2U (ORCPT + 99 others); Mon, 3 Oct 2022 22:28:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbiJDC2N (ORCPT ); Mon, 3 Oct 2022 22:28:13 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6195DFAEA; Mon, 3 Oct 2022 19:27:51 -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 4MhLz46Mq9z4xDn; Tue, 4 Oct 2022 13:20:48 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1664850050; bh=V8QacDBhC5wIE+xliBe7paC2IAqaDLg7qOpUOCQUQzE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=L7aLRMh3EHi8Q1p4TudsSRaO9jEr7Jdbwjhw4iydClBznvULuCAMQQRgkP7zqbC05 rwTmA+fOoALftvgwUMxkEHnzKJk5JrNWa/FPBFMVOHBJFN34NQjQuf5hfzFyDVtXT5 xQIg9jH4UT8QSCL6tljhV44jvjr8F23J3mYOI9jYo4I3RVg+G6WYPxI/fVkn+5mAh8 gFsaatYUFFasGk514c/X2rFDyAEz2xnA0SmnfaeVRacBshAWVb8GKqFcHCLVk5X8lT hX1klSvWuo3loa8uRY4McxrOP/TFrlG+hClE7oGBEJcO/GH7pgzhwcWI+ly3rD1tG9 6KhSER5igDpDg== Date: Tue, 4 Oct 2022 13:20:47 +1100 From: Stephen Rothwell To: Dave 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: <20221004132047.435d42db@canb.auug.org.au> In-Reply-To: <20220930105434.111407-1-broonie@kernel.org> References: <20220930105434.111407-1-broonie@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/xVxdK89fd+s.RJjjuJPREX/"; 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_/xVxdK89fd+s.RJjjuJPREX/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi broonie@kernel.org, On Fri, 30 Sep 2022 11:54:34 +0100 broonie@kernel.org wrote: > > After merging the drm tree, today's linux-next build (x86_64 > allmodconfig) failed like this: >=20 > /tmp/next/build/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c= : In function 'dc_stream_remove_writeback': > /tmp/next/build/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c= :527:55: error: array subscript [0, 0] is outside array bounds of 'struct d= c_writeback_info[1]' [-Werror=3Darray-bounds] > 527 | stream->writeback_info[j] =3D stream->writeback_info[i]; > | ~~~~~~~~~~~~~~~~~~~~~~^~~ > cc1: all warnings being treated as errors >=20 > Caused by >=20 > 5d8c3e836fc224 ("drm/amd/display: fix array-bounds error in dc_stream= _remove_writeback()") >=20 > I have reverted that commit for today. 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: ar= ray subscript [0, 0] is outside array bounds of 'struct dc_writeback_info[1= ]' [-Werror=3Darray-bounds] 527 | stream->writeback_info[j] =3D strea= m->writeback_info[i]; | ~~~~~~~= ~~~~~~~~~~~~~~~^~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc.h:1269, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_typ= es.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/basics/dc_co= mmon.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stre= am.c:27: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_stream.h:241:34: note: while re= ferencing 'writeback_info' 241 | struct dc_writeback_info writeback_info[MAX_DWB_PIPES]; | ^~~~~~~~~~~~~~ I have reverted that commit again today. --=20 Cheers, Stephen Rothwell --Sig_/xVxdK89fd+s.RJjjuJPREX/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmM7mH8ACgkQAVBC80lX 0GzC3Qf9Gez8iYaASsQ2ZBFUAIKXmJbMs9tWotAhykatDhTi24tP3bbsqCnVH9Lx 3k8XhGA4en3BTq+MZ6aSaP5pRY4DXEMVs2nb6MULGWYN+iVoWTmX4BwCKlRJRYyg 1ULZr98MJDpLJxFYXvsyLwPHDuwfoMLgMkFLoQtDEe+O5VqBvshOEiu0yik0fnic et0RxL3meXUC3OIpGRLqvQR9jwL7POMUh3lMUlpkdZh7UFhlHaMqcmo3ST94FznB iXmx/TX0tc59FWCBJhJ9gtTjqDG5v/s71qZApXoMVJtRd+WKPSZnSQC6Vtmh2rpq DjYgdSgNp6SiX2rV9kEnAPb3SlzZDw== =gUKu -----END PGP SIGNATURE----- --Sig_/xVxdK89fd+s.RJjjuJPREX/--