From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BFB41DB127 for ; Thu, 30 Oct 2025 18:05:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761847535; cv=none; b=EpQxGjGsHf98S5WWtwpsz8K4OHeZZDrLAdiLagVn30k9VAvuezrBAiATVJY045o3ljtnKGPUiUPhJF50P0gw4D7hvIK78o13I7EGSNqPvMA8sUqghVZMLKWCbysDb0R+x8oYFwRdDxobRkKyBXGm3zkd0/iMZD9wZtoIUkwlsSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761847535; c=relaxed/simple; bh=ffUErFjwH6FPsyyAXYKD8BwCvRk0j0ovrU1IvwXLog8=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=RV27kfWt4avRq4gYzDoIdaNvY3CbQRkVIcmFZf4upqE7SyvusXHdbiDP4wFthaQUYNTStykpB4NkIqHCpGCQVZmhpFIaIilDG/9g8OH/5zBKJOkwsbKW8DBHAMPPkPjGVi0nUcEEkX2muq+bcw88Omk2qGYRckiYPBm9roj70Pk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=F+BayPTU; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="F+BayPTU" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-b7042e50899so129533866b.0 for ; Thu, 30 Oct 2025 11:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761847532; x=1762452332; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=ffUErFjwH6FPsyyAXYKD8BwCvRk0j0ovrU1IvwXLog8=; b=F+BayPTU1Q6Cpm5ENh6iPONnAUCGG8+52U3h7aSx4rQRSMlUT9V8aUhem2lI3aGjO3 TKkTX0wuI8t5bjae93QVjUJOrh/PF7U6/8LeN3b3piaSZFZZAnsQcVwbRfyN3Pm9V8TP U/WS+FM/5eoaE3OuEuSEo0uFShC5xEGkeKzf0ngouG+KVvrqnCbRb53h5TD0KabdEHgI 2Dn0uQrZecIQmGLCmUxYGKJ27phFnhFSLWVbdTxViUjuUFEziTNsCko35mSaCYs2MDZV J6F3CsLRGiRt57M4Oc0ecxNYzNlAq+6vDwAvc/gtP7jQH2mTxvRtKzecpVrMiBblPde1 KXmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761847532; x=1762452332; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ffUErFjwH6FPsyyAXYKD8BwCvRk0j0ovrU1IvwXLog8=; b=Co2kX8VwwLyQz78cT5+991PyLHr01/C9A/Yis0lTavTUfQ3HCvgBRsPGUy3V+LeLiy P0p30Q3x63eVw0zghqAz7Dpx0zExUnf2e0kosVoS3dbDLaopjxViWtzz5nBnuiJFKjAl XNFdJB4suv/4Mxcx1KaTQleWiV7nRHQLo4sBOmtWUK7vkkFacv67i6UzNhOscODJU5uI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17:907:94c5:b0:b04:2533:e8dd with SMTP id a640c23a62f3a-b7070870952mr42287966b.60.1761847531886; Thu, 30 Oct 2025 11:05:31 -0700 (PDT) Received: from ?IPv6:2001:4c4e:24cb:f700:23e8:3719:bda9:8268? (20014C4E24CBF70023E83719BDA98268.dsl.pool.telekom.hu. [2001:4c4e:24cb:f700:23e8:3719:bda9:8268]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b6d853696a3sm1801921066b.27.2025.10.30.11.05.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Oct 2025 11:05:31 -0700 (PDT) Message-ID: <32ed124e9d603cad950c4836c7a14a3ba8bc2068.camel@gmail.com> Subject: Re: linux-next-20251029 - build error in amdgpu From: Timur =?ISO-8859-1?Q?Krist=F3f?= To: Valdis =?UTF-8?Q?Kl=C4=93tnieks?= , Alex Deucher Cc: Leo Li , David Airlie , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Date: Thu, 30 Oct 2025 19:05:30 +0100 In-Reply-To: <1043551.1761844832@turing-police> References: <1043551.1761844832@turing-police> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-2.fc42) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2025-10-30 at 13:20 -0400, Valdis Kl=C4=93tnieks wrote: > Hit this error while building next-20251029 with W=3D1 and gcc (GCC) > 15.2.1 20251022 (Red Hat 15.2.1-3 Hi, Can you say how to reproduce that? I use the same version of GCC but it hasn't given me any warning or error for that patch. Thanks & best regards, Timur >=20 > =C2=A0 CC [M]=C2=A0 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.o > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.c:157 > 1:69: error: positional initialization of field in 'struct' declared > with 'designated_init' attribute [-Werror=3Ddesignated-init] > =C2=A01571 | static const struct stream_encoder_funcs > dce110_an_str_enc_funcs =3D {0}; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > ^ > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.c:157 > 1:69: note: (near initialization for 'dce110_an_str_enc_funcs') > cc1: some warnings being treated as errors >=20 > Caused by: > commit deb072d241c906ae378bc88ff91dfcdc34ebe71a > Author: Timur Krist?f > Date:=C2=A0=C2=A0 Fri Sep 26 20:01:51 2025 +0200 >=20 > =C2=A0=C2=A0=C2=A0 drm/amd/display: Implement DCE analog stream encoders >=20 >=20 > > > > > > > > >=20