Re: [PATCH] staging: sm750fb: make g_fbmode array const

From: Dan Carpenter

Date: Wed Jul 01 2026 - 01:07:08 EST


On Wed, Jul 01, 2026 at 09:14:23AM +0500, Ruziev Miraly wrote:
> The g_fbmode array of pointers to constant strings is never modified.
> Mark it as const to move it to the read-only data section (.rodata)
> and comply with the Linux kernel coding style.
>
> Signed-off-by: Ruziev Miraly <miraly.dev@xxxxxxxxx>
> ---

For old warnings, you should assume that maybe it's deliberate and look
it up on lore to see why.

regards,
dan carpenter