public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Cc: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Jessica Zhang <jesszhan0024@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	Linux-Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: panel-ilitek-ili9882t.c:95:16: error: initializer overrides prior initialization
Date: Wed, 21 Jan 2026 11:28:00 -0700	[thread overview]
Message-ID: <20260121182800.GA241748@ax162> (raw)
In-Reply-To: <CANiq72mRp62foTCstQxYhVBdh6y_W27wEjWSRX9_kqShuueaSQ@mail.gmail.com>

On Wed, Jan 21, 2026 at 07:07:22PM +0100, Miguel Ojeda wrote:
> Hi,
> 
> With LLVM 21.1.8, I am seeing in an `allmodconfig` for next-20260121:
> 
>     drivers/gpu/drm/panel/panel-ilitek-ili9882t.c:95:16: error:
> initializer overrides prior initialization of this subobject
> [-Werror,-Winitializer-overrides]
>        95 |         .vbr_enable = 0,
>           |                       ^
>     drivers/gpu/drm/panel/panel-ilitek-ili9882t.c:90:16: note:
> previous initialization is here
>        90 |         .vbr_enable = false,
>           |                       ^~~~~
>     drivers/gpu/drm/panel/panel-ilitek-ili9882t.c:97:19: error:
> initializer overrides prior initialization of this subobject
> [-Werror,-Winitializer-overrides]
>        97 |         .rc_model_size = DSC_RC_MODEL_SIZE_CONST,
>           |                          ^~~~~~~~~~~~~~~~~~~~~~~
>     ./include/drm/display/drm_dsc.h:22:38: note: expanded from macro
> 'DSC_RC_MODEL_SIZE_CONST'
>        22 | #define DSC_RC_MODEL_SIZE_CONST             8192
>           |                                             ^~~~
>     drivers/gpu/drm/panel/panel-ilitek-ili9882t.c:91:19: note:
> previous initialization is here
>        91 |         .rc_model_size = DSC_RC_MODEL_SIZE_CONST,
>           |                          ^~~~~~~~~~~~~~~~~~~~~~~
>     ./include/drm/display/drm_dsc.h:22:38: note: expanded from macro
> 'DSC_RC_MODEL_SIZE_CONST'
>        22 | #define DSC_RC_MODEL_SIZE_CONST             8192
>           |                                             ^~~~
>     drivers/gpu/drm/panel/panel-ilitek-ili9882t.c:132:25: error:
> initializer overrides prior initialization of this subobject
> [-Werror,-Winitializer-overrides]
>       132 |         .initial_scale_value = 32,
>           |                                ^~
>     drivers/gpu/drm/panel/panel-ilitek-ili9882t.c:126:25: note:
> previous initialization is here
>       126 |         .initial_scale_value = 32,
>           |                                ^~
>     drivers/gpu/drm/panel/panel-ilitek-ili9882t.c:133:20: error:
> initializer overrides prior initialization of this subobject
> [-Werror,-Winitializer-overrides]
>       133 |         .nfl_bpg_offset = 3511,
>           |                           ^~~~
>     drivers/gpu/drm/panel/panel-ilitek-ili9882t.c:108:20: note:
> previous initialization is here
>       108 |         .nfl_bpg_offset = 1402,
>           |                           ^~~~
> 
> It seems that indeed the variables are duplicated -- something seems
> off with commit
> 
>     65ce1f5834e9 ("drm/panel: ilitek-ili9882t: Switch Tianma
> TL121BVMS07 to DSC 120Hz mode")

I have sent

  https://lore.kernel.org/20260114-panel-ilitek-ili9882t-fix-override-init-v1-1-1d69a2b096df@kernel.org/

for this, it just needs verification and application.

Cheers,
Nathan

      reply	other threads:[~2026-01-21 18:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-21 18:07 panel-ilitek-ili9882t.c:95:16: error: initializer overrides prior initialization Miguel Ojeda
2026-01-21 18:28 ` Nathan Chancellor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260121182800.GA241748@ax162 \
    --to=nathan@kernel.org \
    --cc=broonie@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jesszhan0024@gmail.com \
    --cc=linux-next@vger.kernel.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=neil.armstrong@linaro.org \
    --cc=yelangyan@huaqin.corp-partner.google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox