Commit b748f2de authored by Takashi Iwai's avatar Takashi Iwai Committed by Borislav Petkov
Browse files

EDAC: Add missing MEM_LRDDR4 entry in edac_mem_types[]

The edac_mem_types[] array misses a MEM_LRDDR4 entry, which leads to
NULL pointer dereference when accessed via sysfs or such.
Signed-off-by: default avatarTakashi Iwai <>
Cc: Mauro Carvalho Chehab <>
Cc: Yazen Ghannam <>
Cc: linux-edac <>
Cc: <>
Fixes: 1e8096bb

 ("EDAC: Add LRDDR4 DRAM type")
Signed-off-by: default avatarBorislav Petkov <>
parent 190bd6e9
......@@ -215,6 +215,7 @@ const char * const edac_mem_types[] = {
[MEM_LRDDR3] = "Load-Reduced-DDR3-RAM",
[MEM_DDR4] = "Unbuffered-DDR4",
[MEM_RDDR4] = "Registered-DDR4",
[MEM_LRDDR4] = "Load-Reduced-DDR4-RAM",
[MEM_NVDIMM] = "Non-volatile-RAM",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment