Re: [PATCH] platform/chrome: cros_ec_lightbar: fix const correctness of seqname array

From: Tzung-Bi Shih

Date: Mon Feb 23 2026 - 03:18:03 EST


On Sun, Feb 08, 2026 at 02:00:49AM -0800, trunix-creator wrote:
> The seqname array was declared as 'char const *seqname[]',
> And since the array is intended to be fully immutable, It is now corrected
> to 'const char * const seqname[]' to mark both the strings and the pointer array as read-only.
>
> This improves const correctness and matches the intended usage of the
> sequence name table.
>
> Signed-off-by: trunix-creator <trunixcodes@xxxxxxxxxxxx>

Thanks for the patch.

Before this can be considered for merging, you'll need to update the
Signed-off-by line. The kernel community requires the use of your real
name (legal name) rather than a handle (see also "Developer's Certificate
of Origin" in Documentation/process/submitting-patches.rst).