[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025071808-jogger-snowflake-1911@gregkh>
Date: Fri, 18 Jul 2025 09:44:39 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Ignacio Peña <ignacio.pena87@...il.com>
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] staging: sm750fb: make const arrays static const
char * const
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@...il.com>
> ---
> drivers/staging/sm750fb/sm750.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Always test-build your patches so you don't break maintainers workflow
by submitting patches that break the build :(
thanks,
greg k-h
Powered by blists - more mailing lists