Re: [PATCH] staging: rtl8723bs: make _action_public_str const
From: Dan Carpenter
Date: Mon Feb 02 2026 - 07:38:00 EST
On Mon, Feb 02, 2026 at 02:08:50PM +0400, Giorgi Tchankvetadze wrote:
> The _action_public_str array is never modified at runtime and serves as a lookup table.
> Mark it 'static const char * const' to allow the compiler to put it in the
> read-only data section.
>
> This fixes a checkpatch warning:
> WARNING: static const char * array should probably be static const char * const
> Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@xxxxxxxxx>
> ---
Add a blank line before the Signed-off-by line.
regards,
dan carpenter