Re: [PATCH] staging: sm750fb: add missing const to g_fbmode array
From: Ethan Tidmore
Date: Sun Feb 15 2026 - 19:27:13 EST
On Sun Feb 15, 2026 at 3:31 PM CST, Eyüp Kerem Baş wrote:
> Checkpatch reported a warning that the static const char * array should probably be static const char * const. This patch adds the missing const keyword to g_fbmode array, moving it to read-only memory.
Please keep a maximum of 75 characters per line. Next time when
submitting a patch use "$ ./scripts/checkpatch.pl --strict <patch>" to
catch things like this.
Thanks,
ET
>
> Signed-off-by: Eyüp Kerem Baş <baseyupkerem@xxxxxxxxx>
> ---