Re: [PATCH] staging: sm750fb: constify g_fbmode array
From: Greg KH
Date: Mon Mar 09 2026 - 05:56:42 EST
On Mon, Mar 09, 2026 at 09:49:57AM +0000, dipesh chaudhary wrote:
>
> Fix checkpatch warning for static const char array. Make the array of pointers read-only to improve memory safety.
>
> Signed-off-by: dipesh chaudhary <me@xxxxxxxxxxxxxxxxxx>
> ---
> Makefile | 6 +++---
> drivers/staging/sm750fb/sm750.c | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index df471d4212cc..e944c6e71e81 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1,8 +1,8 @@
> # SPDX-License-Identifier: GPL-2.0
> -VERSION = 6
> -PATCHLEVEL = 19
> +VERSION = 7
> +PATCHLEVEL = 0
> SUBLEVEL = 0
> -EXTRAVERSION =
> +EXTRAVERSION = -rc1
> NAME = Baby Opossum Posse
>
> # *DOCUMENTATION*
Why have you changed the Makefile?
And did you test-build your change?
thanks,
greg k-h