Re: [PATCH v4 2/4] drm/panel: jdi-lpm102a188a: Fix bug and clean up driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 7/18/25 5:11 PM, Doug Anderson wrote:
Hi,

On Thu, Jul 17, 2025 at 9:41 AM Brigham Campbell <me@xxxxxxxxxxxxxxxxxxx> wrote:

  static int jdi_panel_prepare(struct drm_panel *panel)
  {
         struct jdi_panel *jdi = to_panel_jdi(panel);
+       struct mipi_dsi_multi_context dsi_ctx = { .accum_err = 0 };

nit: can just be this:

struct mipi_dsi_multi_context dsi_ctx = {};

I am not an expert here but I was under the impression that this is only
valid with C23 while the kernel is written in C11. Is there something I
am missing?

Diogo




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux