Skip to contentSkip to conversation

Seen "Internal error: Can't find EDAC structure"?

PATCH Boris Petkov 1 participant 1 message Apr 20, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 1 line · Tony

Ideas?

Does that help?

drivers/edac/ghes_edac.c +1 -1
index 68b6ee18bea6..4a9231993699 100644
@@ -439,7 +439,7 @@ int ghes_edac_register(struct ghes *ghes, struct device *dev)
 	/* Check if safe to enable on this system */
 	idx = acpi_match_platform_list(plat_list);
 	if (!force_load && idx < 0)
-		return 0;
+		return -ENODEV;
 
 	/*
 	 * We have only one logical memory controller to which all DIMMs belong.