Re: [PATCH 1/2] staging: sm750fb: make const arrays static const char * const
From: Dan Carpenter
Date: Fri Jul 18 2025 - 10:53:38 EST
On Thu, Jul 17, 2025 at 11:49:13PM -0400, Ignacio Peña wrote:
> Fix checkpatch warning:
> "WARNING: static const char * array should probably be
> static const char * const"
>
> This makes both the array and its contents immutable, which is the
> intended behavior for these constant string arrays:
> - g_fbmode: array of framebuffer mode strings
> - fixId: array of framebuffer device names
>
> Signed-off-by: Ignacio Peña <ignacio.pena87@xxxxxxxxx>
This is a v2 patch. On the first version of this patch I told you
that it breaks the build. So I guess now you're trying to fix it
by making fixId const as well? It's unclear.
Anyway, it still breaks the build.
regards,
dan carpenter