Re: [PATCH v2] staging: rtl8723bs: make _action_public_str const

From: Dan Carpenter

Date: Mon Feb 02 2026 - 08:54:44 EST


On Mon, Feb 02, 2026 at 05:16: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>
> ---
> v2: add blank line before Signed-off-by (suggested by Dan Carpenter)

Thanks.

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter