History

EDAC/ghes: Unify CPER memory error location reporting

Switch the GHES EDAC memory error reporting functions to use the common CPER ones and get rid of code duplication. [ bp: - rewrite commit message, remove useless text - rip out useless reformatting - align function params on the opening brace - rename function to a more descriptive name - drop useless function exports - handle buffer lengths properly when printing other detail - remove useless casting ]

Shuai Xue committed 4 years ago

Commit ed27b5d1 parent bdae7964 files · +42 −165Browse files

Showing the changes to include (1 of 4 files). Show all

Unified · Split

include/linux/cper.h+2−0
@@ -569,5 +569,7 @@ void cper_print_proc_arm(const char *pfx, · 568 unmodified lines
569569 const struct cper_sec_proc_arm *proc);
570570 void cper_print_proc_ia(const char *pfx,
571571 const struct cper_sec_proc_ia *proc);
572+int cper_mem_err_location(struct cper_mem_err_compact *mem, char *msg);
573+int cper_dimm_err_location(struct cper_mem_err_compact *mem, char *msg);
572574
573575 #endif