From 7c35218c8853ee07ac7334b1e83e83c72a7c67a8 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 9 Mar 2026 17:49:33 +0100 Subject: [PATCH] nb/intel/broadwell/report_platform.c: Constify string array Checkpatch suggests these changes when touching this code. Change-Id: Ib85f4ca43b92a160519bd9e600054accaccc0e94 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/91623 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier Reviewed-by: Alicja Michalska --- src/northbridge/intel/broadwell/report_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/broadwell/report_platform.c b/src/northbridge/intel/broadwell/report_platform.c index d64d53e9ae..2f5293a3e2 100644 --- a/src/northbridge/intel/broadwell/report_platform.c +++ b/src/northbridge/intel/broadwell/report_platform.c @@ -74,7 +74,7 @@ static struct { static void report_cpu_info(void) { - const char *mode[] = {"NOT ", ""}; + static const char *const mode[] = {"NOT ", ""}; const char *cpu_type = "Unknown"; char cpu_string[50];