Skip to content

Commit f4ce6ec

Browse files
committed
EDAC: Fix mem_types strings type
This one got forgotten during an earlier cleanup. Signed-off-by: Borislav Petkov <bp@suse.de>
1 parent 52addcf commit f4ce6ec

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/edac/edac_core.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
#define EDAC_PCI "PCI"
6767
#define EDAC_DEBUG "DEBUG"
6868

69-
extern const char *edac_mem_types[];
69+
extern const char * const edac_mem_types[];
7070

7171
#ifdef CONFIG_EDAC_DEBUG
7272
extern int edac_debug_level;

‎drivers/edac/edac_mc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static void edac_mc_dump_mci(struct mem_ctl_info *mci)
128128
/*
129129
* keep those in sync with the enum mem_type
130130
*/
131-
const char *edac_mem_types[] = {
131+
const char * const edac_mem_types[] = {
132132
"Empty csrow",
133133
"Reserved csrow type",
134134
"Unknown csrow type",

0 commit comments

Comments
 (0)