[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <32ed124e9d603cad950c4836c7a14a3ba8bc2068.camel@gmail.com>
Date: Thu, 30 Oct 2025 19:05:30 +0100
From: Timur Kristóf <timur.kristof@...il.com>
To: Valdis Klētnieks <valdis.kletnieks@...edu>, Alex
 Deucher	 <alexander.deucher@....com>
Cc: Leo Li <sunpeng.li@....com>, David Airlie <airlied@...il.com>, 
	amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org, 
	linux-kernel@...r.kernel.org
Subject: Re: linux-next-20251029 - build error in amdgpu
On Thu, 2025-10-30 at 13:20 -0400, Valdis Klētnieks wrote:
> Hit this error while building next-20251029 with W=1 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
> 
>   CC [M] 
> 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=designated-init]
>  1571 | static const struct stream_encoder_funcs
> dce110_an_str_enc_funcs = {0};
>      
> |                                                                    
> ^
> 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
> 
> Caused by:
> commit deb072d241c906ae378bc88ff91dfcdc34ebe71a
> Author: Timur Krist?f <timur.kristof@...il.com>
> Date:   Fri Sep 26 20:01:51 2025 +0200
> 
>     drm/amd/display: Implement DCE analog stream encoders
> 
> 
> > > > > > > > > 
Powered by blists - more mailing lists
 
