Hit this error while building next-20251029 with W=1 and gcc (GCC) 15.2.1 
20251022 (Red Hat 15.2.1-3

  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:1571: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:1571: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 <[email protected]>
Date:   Fri Sep 26 20:01:51 2025 +0200

    drm/amd/display: Implement DCE analog stream encoders




Reply via email to