The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] staging: sm750fb: make g_fbmode array pointers const;prevent accidental modification of entries.
@ 2026-08-06  0:43 Alexandros Xanthakis
  2026-08-06  4:49 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandros Xanthakis @ 2026-08-06  0:43 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh
  Cc: linux-fbdev, linux-staging, linux-kernel, Alexandros Xanthakis

Signed-off-by: Alexandros Xanthakis <xanthakis.alexandre@gmail.com>
---
 drivers/staging/sm750fb/sm750.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 89c811e0806c..8f533f3b1b42 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -21,7 +21,7 @@
 static int g_hwcursor = 1;
 static int g_noaccel __ro_after_init;
 static int g_nomtrr __ro_after_init;
-static const char *g_fbmode[] = {NULL, NULL};
+static const char * const g_fbmode[] = {NULL, NULL};
 static const char *g_def_fbmode = "1024x768-32@60";
 static char *g_settings;
 static int g_dualview __ro_after_init;
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-06  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06  0:43 [PATCH] staging: sm750fb: make g_fbmode array pointers const;prevent accidental modification of entries Alexandros Xanthakis
2026-08-06  4:49 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox