From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Gwendal Grignou <gwendal@chromium.org>
Cc: chrome-platform@lists.linux.dev, Gwendal Grignou <gwendal@google.com>
Subject: Re: [PATCH] platform/chrome: lightbar: Remove [0]
Date: Wed, 4 Feb 2026 04:45:45 +0000 [thread overview]
Message-ID: <aYLO-UpmBAY5GyqW@google.com> (raw)
In-Reply-To: <20260204034848.697033-1-gwendal@google.com>
On Tue, Feb 03, 2026 at 07:48:48PM -0800, Gwendal Grignou wrote:
> Variable arrays should be defined as [], not [0], otherwise
> the kernel complains:
>
> memcpy : detected field-spanning write (size 9) of single field "param->set_program_ex.data" at drivers/platform/chrome/cros_ec_lightbar.c:603 (size 0)
Oops, https://lore.kernel.org/all/aXhWlV6SyaAAum-Q@google.com/ raised the
concern but we haven't addressed it.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
[1/1] platform/chrome: lightbar: Remove [0]
commit: 520e345dfdab89aed4a0ad98d5ec35086661a11a
Thanks!
prev parent reply other threads:[~2026-02-04 4:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-04 3:48 [PATCH] platform/chrome: lightbar: Remove [0] Gwendal Grignou
2026-02-04 4:45 ` Tzung-Bi Shih [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=aYLO-UpmBAY5GyqW@google.com \
--to=tzungbi@kernel.org \
--cc=chrome-platform@lists.linux.dev \
--cc=gwendal@chromium.org \
--cc=gwendal@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.